1
1

Make autogen.pl abort if one of the scripts it runs fails

This commit was SVN r27000.
Этот коммит содержится в:
Jeff Squyres 2012-08-10 21:53:34 +00:00
родитель 7b0af8a760
Коммит 0715e41ff3

Просмотреть файл

@ -1106,7 +1106,10 @@ foreach my $s (@scripts) {
print "Cannot find executable $s!\nAborting.\n";
my_exit(1);
}
system($s);
if (system($s) != 0) {
print "Script failed: $s\n";
my_exit(1);
}
}
#---------------------------------------------------------------------------