From 74f0cef5898a8cf3278dee2c30909a84a6ee3c48 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 23 Nov 2007 01:56:21 +0000 Subject: Use %% instead of % parameter expansion where appropriate for md5sum output. svn path=/main/trunk/; revision=8613 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3-1-g7c22