Fix quoting on $CHANGELOG_REVISION. v2.2_rc15
authorZac Medico <zmedico@gentoo.org>
Sat, 22 Nov 2008 04:46:01 +0000 (04:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 22 Nov 2008 04:46:01 +0000 (04:46 -0000)
svn path=/main/trunk/; revision=12030

mkrelease.sh

index b0be479a5a45fcca45328a919b0201df9a9c8d3c..93d22da0079fe5f9de3b86537fb1c120772752aa 100755 (executable)
@@ -5,7 +5,6 @@ SOURCE_DIR=${RELEASE_BUILDDIR}/checkout
 BRANCH=${BRANCH:-trunk}
 REPOSITORY=svn+ssh://cvs.gentoo.org/var/svnroot/portage/main
 SVN_LOCATION=${REPOSITORY}/${BRANCH}
-CHANGELOG_REVISION=""
 CREATE_TAG=
 CHANGELOG_REVISION=
 UPLOAD_LOCATION=
@@ -68,7 +67,7 @@ svn export "${SVN_LOCATION}" "${SOURCE_DIR}" > /dev/null || die "svn export fail
 
 echo ">>> Creating Changelog"
 svn2cl_opts="-i --reparagraph"
-[ -n $CHANGELOG_REVISION ] && svn2cl_opts+=" -r HEAD:$CHANGELOG_REVISION"
+[ -n "$CHANGELOG_REVISION" ] && svn2cl_opts+=" -r HEAD:$CHANGELOG_REVISION"
 svn2cl $svn2cl_opts -o "${SOURCE_DIR}/ChangeLog" "${SVN_LOCATION}" \
        || die "ChangeLog creation failed"