From: Alexandre Duret-Lutz Date: Wed, 2 Feb 2005 21:08:46 +0000 (+0000) Subject: * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit'; X-Git-Tag: Release-1-9b~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c96fc11ce156bb57e5e083dc20e1538857df1cc;p=thirdparty%2Fautomake.git * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit'; see 2004-12-17. * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero status if a write failure occurs with --help or --version option, as below. --- diff --git a/ChangeLog b/ChangeLog index 84de746de..a05a88def 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-02-02 Alexandre Duret-Lutz + + * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit'; + see 2004-12-17. + * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero + status if a write failure occurs with --help or --version option, + as below. + 2005-02-02 Paul Eggert * lib/depcomp: Exit with nonzero status if a write failure occurs diff --git a/lib/elisp-comp b/lib/elisp-comp index e194b971c..744bd27b6 100755 --- a/lib/elisp-comp +++ b/lib/elisp-comp @@ -1,7 +1,7 @@ #!/bin/sh # Copyright (C) 1995, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. -scriptversion=2005-02-02.21 +scriptversion=2005-02-02.22 # Franc,ois Pinard , 1995. # @@ -77,7 +77,7 @@ cp "$@" $tempdir mv *.elc .. ) || exit $? -(exit 0); exit +(exit 0); exit 0 # Local Variables: # mode: shell-script diff --git a/lib/mdate-sh b/lib/mdate-sh index 881782eb5..c1f037a27 100755 --- a/lib/mdate-sh +++ b/lib/mdate-sh @@ -1,9 +1,10 @@ #!/bin/sh # Get modification time of a file or directory and pretty-print it. -scriptversion=2004-12-08.12 +scriptversion=2005-02-02.22 -# Copyright (C) 1995, 1996, 1997, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005 Free Software +# Foundation, Inc. # written by Ulrich Drepper , June 1995 # # This program is free software; you can redistribute it and/or modify @@ -42,11 +43,11 @@ Pretty-print the modification time of FILE. Report bugs to . EOF - exit 0 + exit $? ;; -v | --v*) echo "mdate-sh $scriptversion" - exit 0 + exit $? ;; esac diff --git a/lib/py-compile b/lib/py-compile index f6bba63f4..ca2a05cc4 100755 --- a/lib/py-compile +++ b/lib/py-compile @@ -1,9 +1,9 @@ #!/bin/sh # py-compile - Compile a Python program -scriptversion=2004-12-05.17 +scriptversion=2005-02-02.22 -# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 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 @@ -68,11 +68,11 @@ Example: Report bugs to . EOF - exit 0 + exit $? ;; -v|--v*) echo "py-compile $scriptversion" - exit 0 + exit $? ;; *) files="$files $1" diff --git a/lib/ylwrap b/lib/ylwrap index e66a95b60..10e4368b3 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -1,9 +1,9 @@ #! /bin/sh # ylwrap - wrapper for lex/yacc invocations. -scriptversion=2004-09-10.20 +scriptversion=2005-02-02.22 -# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004 +# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # Written by Tom Tromey . @@ -56,11 +56,11 @@ Any number of OUTPUT,DESIRED pairs may be used. Report bugs to . EOF - exit 0 + exit $? ;; -v|--v*) echo "ylwrap $scriptversion" - exit 0 + exit $? ;; esac