summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-27 03:02:30 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-27 03:02:30 +0000
commitcfa89247a34006a1078a253abc0090fc98cb703d (patch)
treee17aa6fbde150d6ed4dad43aa2f526056171e9aa
parentMove checks for /usr/lib/distcc/bin and /usr/lib/ccache/bin to the python (diff)
downloadportage-multirepo-cfa89247a34006a1078a253abc0090fc98cb703d.tar.gz
portage-multirepo-cfa89247a34006a1078a253abc0090fc98cb703d.tar.bz2
portage-multirepo-cfa89247a34006a1078a253abc0090fc98cb703d.zip
For consistency in output with other helpers, check for file existence
before calling install. svn path=/main/trunk/; revision=13201
-rwxr-xr-xbin/ebuild-helpers/doexe4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/doexe b/bin/ebuild-helpers/doexe
index 9d35c8e0..19e80b2d 100755
--- 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