summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-27 04:32:56 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-27 04:32:56 +0000
commit0c2995968a6f8bfc734b94323c668061502fe7cb (patch)
treece043ecc4f91d9e93243fa783b89c8ac0009fed6
parentMove checks for /usr/lib/distcc/bin and /usr/lib/ccache/bin to the python (diff)
downloadportage-multirepo-0c2995968a6f8bfc734b94323c668061502fe7cb.tar.gz
portage-multirepo-0c2995968a6f8bfc734b94323c668061502fe7cb.tar.bz2
portage-multirepo-0c2995968a6f8bfc734b94323c668061502fe7cb.zip
For consistency in output with other helpers, check for file existence
before calling install. (trunk r13201) svn path=/main/branches/2.1.6/; revision=13220
-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