Removed some debug code, and hopefully fixed misleading failures.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402500
This commit is contained in:
parent
f99b82b53a
commit
d6a0cb8992
@ -16,4 +16,21 @@ if ($^O eq "linux")
|
||||
$cmd = 'mono ' . $cmd;
|
||||
}
|
||||
|
||||
system($cmd) or die "Build failed: $!\n";
|
||||
system($cmd);
|
||||
|
||||
if ($? == -1)
|
||||
{
|
||||
die "Build failed: $!\n";
|
||||
}
|
||||
elsif ($^O eq "linux" and $? & 127)
|
||||
{
|
||||
die "Build died :(\n";
|
||||
}
|
||||
elsif ($? >> 8 != 0)
|
||||
{
|
||||
die "Build failed with exit code: " . ($? >> 8) . "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
exit(0);
|
||||
}
|
||||
|
@ -44,7 +44,6 @@ namespace builder
|
||||
p.WaitForExit();
|
||||
p.Close();
|
||||
|
||||
Console.WriteLine("Debug: wd = " + info.WorkingDirectory + " fn = " + info.FileName + " arg = " + info.Arguments);
|
||||
Console.WriteLine(output);
|
||||
|
||||
string binary = Config.PathFormat("{0}/{1}/addons/sourcemod/scripting/{2}.smx", cfg.pkg_path, pkg.GetBaseFolder(), pl.Source);
|
||||
|
Loading…
Reference in New Issue
Block a user