summaryrefslogtreecommitdiff
path: root/config/install-sh
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-01 08:59:05 +0000
committerJim Meyering <jim@meyering.net>2002-12-01 08:59:05 +0000
commit275bdd39664b6fe540e2630e64ba699be314de30 (patch)
tree47246e9f802d901ab86658be8dcad32faba6d044 /config/install-sh
parent067fc3f4ef3e93f8a032fe7f19b3b3a16f5b290a (diff)
downloadcoreutils-275bdd39664b6fe540e2630e64ba699be314de30.tar.xz
update from master
Diffstat (limited to 'config/install-sh')
-rwxr-xr-xconfig/install-sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/install-sh b/config/install-sh
index da04bd20b..36f96f3e0 100755
--- a/config/install-sh
+++ b/config/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