projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aacb5d3
)
Use ${x##*/} instead of calling basename. (trunk r13064)
author
Zac Medico
<zmedico@gentoo.org>
Thu, 12 Mar 2009 05:56:01 +0000
(
05:56
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 12 Mar 2009 05:56:01 +0000
(
05:56
-0000)
svn path=/main/branches/2.1.6/; revision=13078
bin/ebuild-helpers/doexe
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/doexe
b/bin/ebuild-helpers/doexe
index 6e72c1c7541e7d83b0be062b4494a2a8473e92bc..36880477c5ecc2437138f9d05cefa45b5fd8ca04 100755
(executable)
--- 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