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
commitf35730e764c140f12f09f50df0b0a5a032e1a167 (patch)
tree3bd31ffaa91339d1d9f5546a1cc37421ce4670ad /install-sh
parente192705ca406a31d4d38d3095623d45111ea6a96 (diff)
downloadbinutils-redhat-f35730e764c140f12f09f50df0b0a5a032e1a167.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 6ebe46de6c..4d4a9519ea 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.