summaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-18 01:20:48 +0000
committerkcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-18 01:20:48 +0000
commitc626e85ff2a5b8f6f7eb5dfcb23d07669d731fc4 (patch)
tree61afabbacb7f35250d93168365f29812d3354aa5 /install-sh
parent16a88602210d94ade100236a49af7257d64b0283 (diff)
downloadgcc-c626e85ff2a5b8f6f7eb5dfcb23d07669d731fc4.tar.gz
2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, config.sub: Import from upstream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93805 138bc75d-0d04-0410-961f-82ee72b054a4
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: