Fixed bootstrap reconfigure bugs.
This commit is contained in:
parent
3d353d8ae9
commit
3f17137086
@ -23,7 +23,7 @@ if (!(-d 'OUTPUT')) {
|
|||||||
mkdir('OUTPUT') or die("Failed to create output folder: $!\n");
|
mkdir('OUTPUT') or die("Failed to create output folder: $!\n");
|
||||||
$reconf = 1;
|
$reconf = 1;
|
||||||
} else {
|
} else {
|
||||||
if (-d 'OUTPUT/sentinel') {
|
if (-f 'OUTPUT/sentinel') {
|
||||||
my @s = stat('OUTPUT/sentinel');
|
my @s = stat('OUTPUT/sentinel');
|
||||||
my $mtime = $s[9];
|
my $mtime = $s[9];
|
||||||
my @files = ('build/pushbuild.txt', 'build/AMBuildScript', 'build/product.version');
|
my @files = ('build/pushbuild.txt', 'build/AMBuildScript', 'build/product.version');
|
||||||
@ -52,12 +52,11 @@ if ($reconf) {
|
|||||||
if ($? != 0) {
|
if ($? != 0) {
|
||||||
die('Could not configure!');
|
die('Could not configure!');
|
||||||
}
|
}
|
||||||
|
open(FILE, '>sentinel');
|
||||||
|
print FILE "this is nothing.\n";
|
||||||
|
close(FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
open(FILE, '>OUTPUT/sentinel');
|
|
||||||
print FILE "this is nothing.\n";
|
|
||||||
close(FILE);
|
|
||||||
|
|
||||||
sub IsNewer
|
sub IsNewer
|
||||||
{
|
{
|
||||||
my ($file, $time) = (@_);
|
my ($file, $time) = (@_);
|
||||||
|
Loading…
Reference in New Issue
Block a user