summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/dosym
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/dosym')
-rwxr-xr-xbin/ebuild-helpers/dosym6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild-helpers/dosym b/bin/ebuild-helpers/dosym
index 1015a28e5..500dad094 100755
--- a/bin/ebuild-helpers/dosym
+++ b/bin/ebuild-helpers/dosym
@@ -1,11 +1,11 @@
#!/bin/bash
-# Copyright 1999-2006 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
if [[ $# -ne 2 ]] ; then
- helpers_die "$0: two arguments needed"
+ helpers_die "${0##*/}: two arguments needed"
exit 1
fi
@@ -14,5 +14,5 @@ destdir=${2%/*}
ln -snf "$1" "${D}$2"
ret=$?
-[[ $ret -ne 0 ]] && helpers_die "$0 failed"
+[[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
exit $ret