[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: two $exit_code and a fatal
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: two $exit_code and a fatal |
Date: |
09 Jul 2002 21:44:28 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
A few places that I forgot to update when installing
the warning stuff...
Installed on HEAD.
2002-07-09 Alexandre Duret-Lutz <address@hidden>
* automake.in (usage, version): Honor $exit_code.
(parse_arguments): Use fatal.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1321
diff -u -r1.1321 automake.in
--- automake.in 9 Jul 2002 19:12:30 -0000 1.1321
+++ automake.in 9 Jul 2002 19:40:54 -0000
@@ -1454,9 +1454,8 @@
{
if ($arg =~ /^-./)
{
- print STDERR "$0: unrecognized option `$arg'\n";
- print STDERR "Try `$0 --help' for more information.\n";
- exit (1);
+ fatal ("unrecognized option `$arg'\n"
+ . "Try `$0 --help' for more information.");
}
# Handle $local:$input syntax. Note that we only examine the
@@ -8560,7 +8559,7 @@
print "\nReport bugs to <address@hidden>.\n";
- exit 0;
+ exit $exit_code;
}
@@ -8577,7 +8576,7 @@
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
EOF
- exit 0;
+ exit $exit_code;
}
### Setup "GNU" style for perl-mode and cperl-mode.
--
Alexandre Duret-Lutz
- FYI: two $exit_code and a fatal,
Alexandre Duret-Lutz <=