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
commitab3530aa0afbb3a0cd5b36858877c0fcf20bce5c (patch)
tree6150f8a07d00d23cf980898ba062e08986694178 /install-sh
parent885964ed895a34c00e96ee7c902e93acf103b5b4 (diff)
downloadgdb-ab3530aa0afbb3a0cd5b36858877c0fcf20bce5c.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.