summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-17 14:53:19 +0000
committerJim Meyering <jim@meyering.net>2003-01-17 14:53:19 +0000
commitd61596981278bab3436c0cdefd33bf5aa3ab2ba6 (patch)
treee79aad4eaec77a4f20cbccb53db173a405eea6ee /config
parent308e04e3262419a1a14a8a99f9165c76d63c7f80 (diff)
downloadcoreutils-d61596981278bab3436c0cdefd33bf5aa3ab2ba6.tar.xz
update from automake/lib
Diffstat (limited to 'config')
-rwxr-xr-xconfig/install-sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/install-sh b/config/install-sh
index 485a2b8ba..57a2fbd18 100755
--- a/config/install-sh
+++ b/config/install-sh
@@ -2,7 +2,7 @@
# install - install a program, script, or datafile
# This originally came from X11R5 (mit/util/scripts/install.sh).
-scriptversion=2003-01-11.16
+scriptversion=2003-01-17.15
# Copyright 1991 by the Massachusetts Institute of Technology
# (FSF changes in the public domain.)
@@ -148,7 +148,7 @@ else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
- if test -f "$src" || test -d "$src"; then :; else
+ if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
@@ -159,7 +159,7 @@ else
fi
# If destination is a directory, append the input filename; won't work
- # if double slashes aren't ignore.
+ # if double slashes aren't ignored.
if test -d "$dst"; then
dst=$dst/`basename "$src"`
fi