projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5ee42c
)
For consistency in output with other helpers, check for file existence
author
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Mar 2009 04:32:56 +0000
(
04:32
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 27 Mar 2009 04:32:56 +0000
(
04:32
-0000)
before calling install. (trunk r13201)
svn path=/main/branches/2.1.6/; revision=13220
bin/ebuild-helpers/doexe
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/doexe
b/bin/ebuild-helpers/doexe
index 9d35c8e0d98d56fc413a995c04ec9f0bf6fa2b21..19e80b2d01c0e129090ddfae349d1b6f3933a800 100755
(executable)
--- a/
bin/ebuild-helpers/doexe
+++ b/
bin/ebuild-helpers/doexe
@@
-26,7
+26,9
@@
for x in "$@" ; do
else
mysrc="${x}"
fi
- if ! install $EXEOPTIONS "$mysrc" "$D$_E_EXEDESTTREE_" ; then
+ if [ -e "$mysrc" ] ; then
+ install $EXEOPTIONS "$mysrc" "$D$_E_EXEDESTTREE_"
+ else
echo "!!! ${0##*/}: $mysrc does not exist" 1>&2
false
fi