From cfa89247a34006a1078a253abc0090fc98cb703d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 27 Mar 2009 03:02:30 +0000 Subject: [PATCH] For consistency in output with other helpers, check for file existence before calling install. svn path=/main/trunk/; revision=13201 --- bin/ebuild-helpers/doexe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.26.2