summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"