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/gnupload | |
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/gnupload')
-rwxr-xr-x | lib/gnupload | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnupload b/lib/gnupload index e413e1a33..e9060c8f0 100755 --- a/lib/gnupload +++ b/lib/gnupload @@ -1,9 +1,9 @@ #!/bin/sh # Sign files and upload them. -scriptversion=2004-02-29.23 +scriptversion=2005-02-02.21 -# Copyright (C) 2004 Free Software Foundation +# Copyright (C) 2004, 2005 Free Software Foundation # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -55,7 +55,7 @@ while test -n "$1"; do case $1 in --help) echo "$usage" - exit 0 + exit $? ;; --to) if test -z "$2"; then @@ -77,7 +77,7 @@ while test -n "$1"; do ;; --version) echo "gnupload $scriptversion" - exit 0 + exit $? ;; -*) echo "$0: Unknown option \`$1', try \`$0 --help'" 1>&2 |