From: Alexandre Duret-Lutz Date: Wed, 2 Feb 2005 20:58:58 +0000 (+0000) Subject: * lib/depcomp: Exit with nonzero status if a write failure occurs X-Git-Tag: v1.10.2~372 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8dfbacf06828f16976cfb9600567f8ec15e33a2;p=platform%2Fupstream%2Fautomake.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 66eb554..84de746 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-02-02 Paul Eggert + + * 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. + 2005-02-01 Alexandre Duret-Lutz * doc/automake.texi (aclocal options): Typo. diff --git a/lib/depcomp b/lib/depcomp index 11e2d3b..15d2f70 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -1,9 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2004-05-31.23 +scriptversion=2005-02-02.21 -# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # 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 @@ -50,11 +50,11 @@ Environment variables: Report bugs to . EOF - exit 0 + exit $? ;; -v | --v*) echo "depcomp $scriptversion" - exit 0 + exit $? ;; esac diff --git a/lib/elisp-comp b/lib/elisp-comp index 7efb6f8..e194b97 100755 --- a/lib/elisp-comp +++ b/lib/elisp-comp @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright (C) 1995, 2000, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1995, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. -scriptversion=2004-09-10.20 +scriptversion=2005-02-02.21 # Franc,ois Pinard , 1995. # @@ -47,11 +47,11 @@ they require or load-library one another. Report bugs to . EOF - exit 0 + exit $? ;; -v | --v*) echo "elisp-comp $scriptversion" - exit 0 + exit $? ;; esac diff --git a/lib/gnupload b/lib/gnupload index e413e1a..e9060c8 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 diff --git a/lib/install-sh b/lib/install-sh index 6ebe46d..1a83534 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. diff --git a/lib/missing b/lib/missing index 64b5f90..a9ab6cb 100755 --- a/lib/missing +++ b/lib/missing @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2004-09-07.08 +scriptversion=2005-02-02.21 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. @@ -87,12 +87,12 @@ Supported PROGRAM values: yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." - exit 0 + exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" - exit 0 + exit $? ;; -*) diff --git a/lib/mkinstalldirs b/lib/mkinstalldirs index 6fbe5e1..5d26a48 100755 --- a/lib/mkinstalldirs +++ b/lib/mkinstalldirs @@ -1,7 +1,7 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -scriptversion=2004-02-15.20 +scriptversion=2005-02-02.21 # Original author: Noah Friedman # Created: 1993-05-16 @@ -27,7 +27,7 @@ while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" - exit 0 + exit $? ;; -m) # -m PERM arg shift @@ -37,7 +37,7 @@ while test $# -gt 0 ; do ;; --version) echo "$0 $scriptversion" - exit 0 + exit $? ;; --) # stop option processing shift