mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-19 14:40:24 +08:00
* autoupdate.in: Preserve exit status of the failed command when
die() follows system() by dividing $! by 256.
This commit is contained in:
parent
8376b27448
commit
a3e2a92f9d
@ -1,3 +1,8 @@
|
||||
2001-02-26 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* autoupdate.in: Preserve exit status of the failed command when
|
||||
die() follows system() by dividing $! by 256.
|
||||
|
||||
2001-02-26 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* acgeneral.m4 (AH_VERBATIM, AH_TEMPLATE): New, use AS_ESCAPE, not
|
||||
|
@ -461,8 +461,8 @@ EOF
|
||||
if $verbose;
|
||||
if (system ("$m4 $tmp/input.m4 >$tmp/updated"))
|
||||
{
|
||||
# FIXME: This guy is supposed to exit with a proper
|
||||
# exit status, but it does not. Help is needed.
|
||||
# Exit status of system() is in the upper byte.
|
||||
$! >>= 8;
|
||||
die "$me: cannot update \`$filename'\n";
|
||||
};
|
||||
|
||||
|
@ -461,8 +461,8 @@ EOF
|
||||
if $verbose;
|
||||
if (system ("$m4 $tmp/input.m4 >$tmp/updated"))
|
||||
{
|
||||
# FIXME: This guy is supposed to exit with a proper
|
||||
# exit status, but it does not. Help is needed.
|
||||
# Exit status of system() is in the upper byte.
|
||||
$! >>= 8;
|
||||
die "$me: cannot update \`$filename'\n";
|
||||
};
|
||||
|
||||
|
@ -461,8 +461,8 @@ EOF
|
||||
if $verbose;
|
||||
if (system ("$m4 $tmp/input.m4 >$tmp/updated"))
|
||||
{
|
||||
# FIXME: This guy is supposed to exit with a proper
|
||||
# exit status, but it does not. Help is needed.
|
||||
# Exit status of system() is in the upper byte.
|
||||
$! >>= 8;
|
||||
die "$me: cannot update \`$filename'\n";
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user