]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
If we bomb out due to not finding the executable, print our invokation
authorJulian Seward <jseward@acm.org>
Tue, 4 Nov 2003 07:12:06 +0000 (07:12 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 4 Nov 2003 07:12:06 +0000 (07:12 +0000)
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

coregrind/valgrind.in

index cef837147170f053ad8c6fef9d56e319c0e4478a..7907291cacb1e656b2b17e212fa2466e01bcb3d8 100755 (executable)
@@ -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