aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKelley Cook <kcook@gcc.gnu.org>2005-01-19 00:34:56 +0000
committerKelley Cook <kcook@gcc.gnu.org>2005-01-19 00:34:56 +0000
commita1e0f4e42f71b7588febf49a9e5e833e52c5969d (patch)
tree75d146aa4dac257f04fa131404c9e68a2f383a73 /install-sh
parent2005-01-13 Kelley Cook <kcook@gcc.gnu.org> (diff)
downloadbinutils-gdb-a1e0f4e42f71b7588febf49a9e5e833e52c5969d.tar.gz
binutils-gdb-a1e0f4e42f71b7588febf49a9e5e833e52c5969d.tar.bz2
binutils-gdb-a1e0f4e42f71b7588febf49a9e5e833e52c5969d.zip
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 0b65ee871d3..6ebe46de6cf 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: