From a8dfbacf06828f16976cfb9600567f8ec15e33a2 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Wed, 2 Feb 2005 20:58:58 +0000 Subject: * 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. --- lib/install-sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/install-sh') 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. -- cgit v1.2.1