summaryrefslogtreecommitdiffstats
path: root/install-sh
diff options
context:
space:
mode:
authorKelley Cook <kcook@gcc.gnu.org>2005-01-18 01:20:48 +0000
committerR. Kelley Cook <kcook@gcc.gnu.org>2005-01-18 01:20:48 +0000
commit385870f5b27f6efd632c5df85d237630d1279a76 (patch)
tree61afabbacb7f35250d93168365f29812d3354aa5 /install-sh
parentMessageFormat.java (scanString): Changed how quoting is handled. (diff)
downloadgcc-385870f5b27f6efd632c5df85d237630d1279a76.tar.gz
gcc-385870f5b27f6efd632c5df85d237630d1279a76.tar.bz2
gcc-385870f5b27f6efd632c5df85d237630d1279a76.tar.xz
install-sh, config.sub: Import from upstream.
2005-01-17 Kelley Cook <kcook@gcc.gnu.org> * install-sh, config.sub: Import from upstream. From-SVN: r93805
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 @@
1#!/bin/sh 1#!/bin/sh
2# install - install a program, script, or datafile 2# install - install a program, script, or datafile
3 3
4scriptversion=2004-10-22.00 4scriptversion=2004-12-17.09
5 5
6# This originates from X11R5 (mit/util/scripts/install.sh), which was 6# This originates from X11R5 (mit/util/scripts/install.sh), which was
7# later released in X11R6 (xc/config/util/install.sh) with the 7# later released in X11R6 (xc/config/util/install.sh) with the
@@ -296,7 +296,7 @@ do
296 || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ 296 || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
297 || { 297 || {
298 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 298 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
299 (exit 1); exit 299 (exit 1); exit 1
300 } 300 }
301 else 301 else
302 : 302 :
@@ -307,12 +307,12 @@ do
307 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" 307 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
308 } 308 }
309 } 309 }
310 fi || { (exit 1); exit; } 310 fi || { (exit 1); exit 1; }
311done 311done
312 312
313# The final little trick to "correctly" pass the exit status to the exit trap. 313# The final little trick to "correctly" pass the exit status to the exit trap.
314{ 314{
315 (exit 0); exit 315 (exit 0); exit 0
316} 316}
317 317
318# Local variables: 318# Local variables: