summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/fperms
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/fperms')
-rwxr-xr-xbin/ebuild-helpers/fperms4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-helpers/fperms b/bin/ebuild-helpers/fperms
index cdd409a05..0260bdc47 100755
--- a/bin/ebuild-helpers/fperms
+++ b/bin/ebuild-helpers/fperms
@@ -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
@@ -9,5 +9,5 @@ source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
slash="/"
chmod "${@/#${slash}/${D}${slash}}"
ret=$?
-[[ $ret -ne 0 ]] && helpers_die "$0 failed"
+[[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
exit $ret