From: Zac Medico Date: Sat, 22 Nov 2008 04:47:29 +0000 (-0000) Subject: Fix quoting on $CHANGELOG_REVISION. (trunk r12030) X-Git-Tag: v2.1.6_rc1~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14af6ff2e5fbc9d1fa03adb582a89848c989abe7;p=portage.git Fix quoting on $CHANGELOG_REVISION. (trunk r12030) svn path=/main/branches/2.1.6/; revision=12031 --- diff --git a/mkrelease.sh b/mkrelease.sh index b0be479a5..93d22da00 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -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"