summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-23 01:56:21 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-23 01:56:21 +0000
commit74f0cef5898a8cf3278dee2c30909a84a6ee3c48 (patch)
tree47c91ea3cef5a4c11aa40a877a0f702a0b6b7019
parentfe2487d0d36d8e90ff2554c7b475874e392882b9 (diff)
downloadportage-74f0cef5898a8cf3278dee2c30909a84a6ee3c48.tar.gz
portage-74f0cef5898a8cf3278dee2c30909a84a6ee3c48.tar.bz2
portage-74f0cef5898a8cf3278dee2c30909a84a6ee3c48.zip
Use %% instead of % parameter expansion where appropriate
for md5sum output. svn path=/main/trunk/; revision=8613
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
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}"