summaryrefslogtreecommitdiff
path: root/config/install-sh
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-12-17 08:40:35 +0000
committerJim Meyering <jim@meyering.net>2004-12-17 08:40:35 +0000
commit7e1fdd4615576ba1325d0cb7c9d0d14d02054ac6 (patch)
tree1aa58092b0b2ab382e0b0a607cf3900284a0f9f6 /config/install-sh
parent9528eb9e73de29c210f9ccfeda0a8b93dd06e9e5 (diff)
downloadcoreutils-7e1fdd4615576ba1325d0cb7c9d0d14d02054ac6.tar.xz
update from gnulib
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 0b65ee871..6ebe46de6 100755
--- a/config/install-sh
+++ b/config/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2004-10-22.00
+scriptversion=2004-12-17.09
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -296,7 +296,7 @@ do
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|| {
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
- (exit 1); exit
+ (exit 1); exit 1
}
else
:
@@ -307,12 +307,12 @@ do
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
}
}
- fi || { (exit 1); exit; }
+ fi || { (exit 1); exit 1; }
done
# The final little trick to "correctly" pass the exit status to the exit trap.
{
- (exit 0); exit
+ (exit 0); exit 0
}
# Local variables: