aboutsummaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorR. Kelley Cook <kcook@gcc.gnu.org>2005-01-19 00:34:56 +0000
committerR. Kelley Cook <kcook@gcc.gnu.org>2005-01-19 00:34:56 +0000
commit8b58b9668f0ce59cf411db6cb8ffaf7f590a8fb6 (patch)
treeaeed91b6c4ab0ee1b32a403c74b2f87ee1ae4267 /install-sh
parentec724188796df7e903c9c0e17fb004afc3de802d (diff)
downloadnewlib-8b58b9668f0ce59cf411db6cb8ffaf7f590a8fb6.zip
newlib-8b58b9668f0ce59cf411db6cb8ffaf7f590a8fb6.tar.gz
newlib-8b58b9668f0ce59cf411db6cb8ffaf7f590a8fb6.tar.bz2
2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, config.sub: Import from upstream.
Diffstat (limited to 'install-sh')
-rwxr-xr-xinstall-sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/install-sh b/install-sh
index 0b65ee8..6ebe46d 100755
--- a/install-sh
+++ b/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: