mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Invoke builder.exe correctly.
This commit is contained in:
parent
5984f0d442
commit
f43fcd6670
@ -11,10 +11,11 @@ chdir('../../installer/builder');
|
|||||||
|
|
||||||
my $output;
|
my $output;
|
||||||
if ($^O eq "linux") {
|
if ($^O eq "linux") {
|
||||||
$output = `mono builder.exe`;
|
$output = `mono builder.exe directions.info`;
|
||||||
} else {
|
} else {
|
||||||
$output = `builder.exe`;
|
$output = `builder.exe directions.info`;
|
||||||
}
|
}
|
||||||
|
print $output . "\n";
|
||||||
|
|
||||||
if ($output =~ /Build failed/) {
|
if ($output =~ /Build failed/) {
|
||||||
die "Build failed!\n";
|
die "Build failed!\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user