X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=install-sh;h=4d4a9519eaf88b18fb157dfe5fae59c1c5d005c7;hb=67a2b55a06644eea26249e710fa29677122fe789;hp=6ebe46de6cf49d03fd433ff1b6d11e031ce22dea;hpb=c626e85ff2a5b8f6f7eb5dfcb23d07669d731fc4;p=pf3gnuchains%2Fgcc-fork.git 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.