diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2005-02-02 20:58:58 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2005-02-02 20:58:58 +0000 |
commit | a8dfbacf06828f16976cfb9600567f8ec15e33a2 (patch) | |
tree | 5bc100c9de58e9011f295c1862b7cf8c0f10210b /lib/install-sh | |
parent | 678fab8e1bd7e0f2030f03989b17947aa5bb55fe (diff) | |
download | automake-a8dfbacf06828f16976cfb9600567f8ec15e33a2.tar.gz |
* lib/depcomp: Exit with nonzero status if a write failure occurs
with --help or --version option.
* lib/elisp-comp: Likewise.
* lib/gnupload: Likewise.
* lib/install-sh: Likewise.
* lib/missing: Likewise.
* lib/mkinstalldirs: Likewise.
Diffstat (limited to 'lib/install-sh')
-rwxr-xr-x | lib/install-sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/install-sh b/lib/install-sh index 6ebe46de6..1a8353401 100755 --- a/lib/install-sh +++ b/lib/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2004-12-17.09 +scriptversion=2005-02-02.21 # 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. |