From: Julian Seward Date: Tue, 4 Nov 2003 07:12:06 +0000 (+0000) Subject: If we bomb out due to not finding the executable, print our invokation X-Git-Tag: svn/VALGRIND_2_1_0~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a67bdae1f082d65dd06cfa1366668af8a0edddc;p=thirdparty%2Fvalgrind.git If we bomb out due to not finding the executable, print our invokation name. Before: 'ssss' not found in $PATH, aborting. After: ./Inst/bin/valgrind: 'ssss' not found in $PATH, aborting. (Already in STABLE). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1994 --- diff --git a/coregrind/valgrind.in b/coregrind/valgrind.in index cef8371471..7907291cac 100755 --- a/coregrind/valgrind.in +++ b/coregrind/valgrind.in @@ -117,7 +117,7 @@ if [ $# != 0 ] ; then # Ensure the program exists. Ignore any error messages from 'which'. which_prog=`which $1 2> /dev/null` if [ z$which_prog = z ] ; then - echo "'$1' not found in \$PATH, aborting." + echo "$0: '$1' not found in \$PATH, aborting." exit fi