summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/ecompress
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/ecompress')
-rwxr-xr-xbin/ebuild-helpers/ecompress6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild-helpers/ecompress b/bin/ebuild-helpers/ecompress
index 8e6fc9c8d..ef01cd4e0 100755
--- a/bin/ebuild-helpers/ecompress
+++ b/bin/ebuild-helpers/ecompress
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
@@ -97,7 +97,7 @@ case $1 in
shift
touch "${@/%/.ecompress.file}"
ret=$?
- [[ $ret -ne 0 ]] && helpers_die "$0 failed"
+ [[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
exit $ret
;;
--dequeue)
@@ -147,7 +147,7 @@ case $1 in
# Finally, let's actually do some real work
"${PORTAGE_COMPRESS}" ${PORTAGE_COMPRESS_FLAGS} "$@"
ret=$?
- [[ $ret -ne 0 ]] && helpers_die "$0 failed"
+ [[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
exit $ret
;;
esac