summaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorKelley Cook <kcook@gcc.gnu.org>2005-07-14 01:24:56 +0000
committerKelley Cook <kcook@gcc.gnu.org>2005-07-14 01:24:56 +0000
commit1d9c9cd779b490a3934235b2a6bf18b9282e3642 (patch)
tree22240ddcc4ba4a8af3d501e90aa81692716e0d60 /install-sh
parent1587117a1b629f1afb282c83746d89c1d439b8da (diff)
downloadbinutils-gdb-1d9c9cd779b490a3934235b2a6bf18b9282e3642.tar.gz
2005-07-14 Kelley Cook <kcook@gcc.gnu.org>
* COPYING, compile, config-ml.in, config.guess, config.sub, install-sh, missing, mkinstalldirs, symlink-tree, ylwrap: Sync from upstream sources.
Diffstat (limited to 'install-sh')
-rwxr-xr-xinstall-sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install-sh b/install-sh
index 6ebe46de6cf..4d4a9519eaf 100755
--- a/install-sh
+++ b/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2004-12-17.09
+scriptversion=2005-05-14.22
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -109,7 +109,7 @@ while test -n "$1"; do
shift
continue;;
- --help) echo "$usage"; exit 0;;
+ --help) echo "$usage"; exit $?;;
-m) chmodcmd="$chmodprog $2"
shift
@@ -134,7 +134,7 @@ while test -n "$1"; do
shift
continue;;
- --version) echo "$0 $scriptversion"; exit 0;;
+ --version) echo "$0 $scriptversion"; exit $?;;
*) # When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.