diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2005-02-02 21:08:46 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2005-02-02 21:08:46 +0000 |
commit | 8c96fc11ce156bb57e5e083dc20e1538857df1cc (patch) | |
tree | 216683174966d3a52ab6aa221d87993168ed5a7b /lib/mdate-sh | |
parent | a8dfbacf06828f16976cfb9600567f8ec15e33a2 (diff) | |
download | automake-8c96fc11ce156bb57e5e083dc20e1538857df1cc.tar.gz |
* 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.
Diffstat (limited to 'lib/mdate-sh')
-rwxr-xr-x | lib/mdate-sh | 9 |
1 files changed, 5 insertions, 4 deletions
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 <drepper@gnu.ai.mit.edu>, 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 <bug-automake@gnu.org>. EOF - exit 0 + exit $? ;; -v | --v*) echo "mdate-sh $scriptversion" - exit 0 + exit $? ;; esac |