PR 718: Configure not exiting with child status

If subcommand fails, just die.
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
This commit is contained in:
nnposter@users.sourceforge.net 2014-08-11 23:36:27 -04:00 committed by Rich Salz
parent 9aaa7be8d4
commit 16caa9a43d

View File

@ -2038,7 +2038,7 @@ EOF
$make_targets .= " links" if $symlink; $make_targets .= " links" if $symlink;
$make_targets .= " depend" if $depflags ne $default_depflags && $make_depend; $make_targets .= " depend" if $depflags ne $default_depflags && $make_depend;
$make_targets .= " gentests" if $symlink; $make_targets .= " gentests" if $symlink;
(system $make_command.$make_targets) == 0 or exit $? (system $make_command.$make_targets) == 0 or die "make $make_targets failed"
if $make_targets ne ""; if $make_targets ne "";
if ( $fipscanisteronly ) if ( $fipscanisteronly )
{} {}