Fixed bootstrapping on Windows (I hope).
This commit is contained in:
parent
24bfff9cf1
commit
eb6ab857fc
|
@ -36,6 +36,11 @@ if (!(-f 'builder.exe')) {
|
||||||
}
|
}
|
||||||
chdir('../..');
|
chdir('../..');
|
||||||
|
|
||||||
|
if (-d '../OUTPUT') {
|
||||||
|
Build::Delete(Cwd::abs_path('../OUTPUT'));
|
||||||
|
}
|
||||||
|
Build::Command("mkdir ../OUTPUT");
|
||||||
|
|
||||||
#Output directions on how to build.
|
#Output directions on how to build.
|
||||||
open(DIRECTIONS, '>installer/builder/directions.info');
|
open(DIRECTIONS, '>installer/builder/directions.info');
|
||||||
if ($^O eq "linux") {
|
if ($^O eq "linux") {
|
||||||
|
@ -55,8 +60,3 @@ print DIRECTIONS "release = amxmodx-" . Build::ProductVersion('product.version')
|
||||||
"-hg" . Build::HgRevNum('.') . "\n";
|
"-hg" . Build::HgRevNum('.') . "\n";
|
||||||
close(DIRECTIONS);
|
close(DIRECTIONS);
|
||||||
|
|
||||||
#Clean the output path. Create dir twice for abs_path hack (Windows).
|
|
||||||
Build::Command("mkdir ../OUTPUT");
|
|
||||||
Build::Delete("" . Cwd::abs_path('../OUTPUT'));
|
|
||||||
Build::Command("mkdir ../OUTPUT");
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user