From f18540f507de4b434c0dfccbcea747654c32b431 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 15 Nov 2008 02:23:43 +0000 Subject: =?UTF-8?q?Fix=20new*=20and=20do*=20ebuild=20helpers=20to=20genera?= =?UTF-8?q?te=20consistent=20error=20messages=20for=20missing=20files=20an?= =?UTF-8?q?d=20generate=20an=20appropriate=20QA=20Notice=20when=20such=20a?= =?UTF-8?q?n=20error=20is=20detected=20in=20the=20build=20log.=20Thanks=20?= =?UTF-8?q?to=20Diego=20'Flameeyes'=20Petten=C3=B2=20=20for?= =?UTF-8?q?=20the=20suggestion.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=11916 --- bin/doinfo | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin/doinfo') diff --git a/bin/doinfo b/bin/doinfo index 7e1dd30ca..1c9e7cc07 100755 --- a/bin/doinfo +++ b/bin/doinfo @@ -12,4 +12,11 @@ if [[ ! -d ${D}usr/share/info ]] ; then install -d "${D}usr/share/info" || exit 1 fi -exec install -m0644 "$@" "${D}usr/share/info" +install -m0644 "$@" "${D}usr/share/info" +rval=$? +if [ $rval -ne 0 ] ; then + for x in "$@" ; do + [ -e "$x" ] || echo "!!! ${0##*/}: $x does not exist" 1>&2 + done +fi +exit $rval -- cgit v1.2.3-1-g7c22