summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild-helpers/doexe2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/doexe b/bin/ebuild-helpers/doexe
index 6e72c1c75..36880477c 100755
--- a/bin/ebuild-helpers/doexe
+++ b/bin/ebuild-helpers/doexe
@@ -17,7 +17,7 @@ fi
for x in "$@" ; do
if [ -L "${x}" ] ; then
cp "${x}" "${T}"
- mysrc="${T}"/$(/usr/bin/basename "${x}")
+ mysrc="$T/${x##*/}"
elif [ -d "${x}" ] ; then
vecho "doexe: warning, skipping directory ${x}"
continue