From: Jim Meyering Date: Mon, 25 Nov 2002 20:00:36 +0000 (+0000) Subject: Use `$0:' at the beginning of each diagnostic, not `install:'. X-Git-Tag: Release-1-7-2b~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5ee0f6f48cb1ab8dc228676ae696093dd72276;p=thirdparty%2Fautomake.git Use `$0:' at the beginning of each diagnostic, not `install:'. --- diff --git a/lib/install-sh b/lib/install-sh index da04bd20b..36f96f3e0 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -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