]> sourceware.org Git - automake.git/commitdiff
Use `$0:' at the beginning of each diagnostic, not `install:'.
authorJim Meyering <jim@meyering.net>
Mon, 25 Nov 2002 20:00:36 +0000 (20:00 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 25 Nov 2002 20:00:36 +0000 (20:00 +0000)
lib/install-sh

index da04bd20b453bf3a287d273b4c4aa3841d7f28c7..36f96f3e033cfaeefc092147d99d92f78e030d12 100755 (executable)
@@ -106,7 +106,7 @@ done
 
 if [ x"$src" = x ]
 then
-       echo "install: no input file specified" >&2
+       echo "$0: no input file specified" >&2
        exit 1
 else
        :
@@ -132,13 +132,13 @@ else
        then
                :
        else
-               echo "install: $src does not exist" >&2
+               echo "$0: $src does not exist" >&2
                exit 1
        fi
 
        if [ x"$dst" = x ]
        then
-               echo "install: no destination specified" >&2
+               echo "$0: no destination specified" >&2
                exit 1
        else
                :
@@ -255,7 +255,7 @@ else
                $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
                $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
                {
-                 echo "install: cannot unlink or rename $dstdir/$dstfile" >&2
+                 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
                  (exit 1); exit
                }
        else
This page took 0.030184 seconds and 5 git commands to generate.