From: Zac Medico Date: Fri, 23 Nov 2007 01:56:21 +0000 (-0000) Subject: Use %% instead of % parameter expansion where appropriate X-Git-Tag: v2.2_pre1~343 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74f0cef5898a8cf3278dee2c30909a84a6ee3c48;p=portage.git Use %% instead of % parameter expansion where appropriate for md5sum output. svn path=/main/trunk/; revision=8613 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 1a6293281..e13e1ea76 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -528,7 +528,7 @@ dyn_package() { die "Failed to append metadata to the tbz2 file" fi local md5sum_output=$(md5sum "${PORTAGE_BINPKG_TMPFILE}") - echo ${md5sum_output% *} > "${PORTAGE_BUILDDIR}"/build-info/BINPKGMD5 + echo ${md5sum_output%% *} > "${PORTAGE_BUILDDIR}"/build-info/BINPKGMD5 vecho ">>> Done." cd "${PORTAGE_BUILDDIR}" touch .packaged || die "Failed to 'touch .packaged' in ${PORTAGE_BUILDDIR}"