Bootstrap failure detection.
This commit is contained in:
parent
8a633363a2
commit
debfaebda8
@ -44,11 +44,14 @@ if ($reconf) {
|
||||
my ($result);
|
||||
print "Attempting to reconfigure...\n";
|
||||
if ($^O eq "linux") {
|
||||
$result = system('python3.1 ../configure.py --enable-optimize');
|
||||
$result = `python3.1 ../configure.py --enable-optimize`;
|
||||
} else {
|
||||
$result = system('C:\\Python31\\Python.exe ..\\configure.py --enable-optimize')
|
||||
$result = `C:\\Python31\\Python.exe ..\\configure.py --enable-optimize`;
|
||||
}
|
||||
print "$result\n";
|
||||
if ($? == -1) {
|
||||
die('Could not configure!');
|
||||
}
|
||||
}
|
||||
|
||||
open(FILE, '>OUTPUT/sentinel');
|
||||
|
Loading…
Reference in New Issue
Block a user