From f34117f19bc1796b7e8657655917e56cadcdfed7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Mar 2009 00:43:00 +0000 Subject: [PATCH] Use ${x##*/} instead of calling basename. svn path=/main/trunk/; revision=13064 --- bin/ebuild-helpers/doexe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2