From: Zac Medico Date: Fri, 27 Mar 2009 04:32:56 +0000 (-0000) Subject: For consistency in output with other helpers, check for file existence X-Git-Tag: v2.1.6.11~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c2995968a6f8bfc734b94323c668061502fe7cb;p=portage.git 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 --- diff --git a/bin/ebuild-helpers/doexe b/bin/ebuild-helpers/doexe index 9d35c8e0d..19e80b2d0 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