1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00
HLMetaModOfficial/support/buildbot/startbuild.pl
2013-11-18 09:53:22 -08:00

24 lines
263 B
Perl
Executable File

#!/usr/bin/perl
# vim: set ts=2 sw=2 tw=99 noet:
use File::Basename;
my ($myself, $path) = fileparse($0);
chdir($path);
require 'helpers.pm';
chdir('../../../OUTPUT');
system("ambuild 2>&1");
if ($? != 0)
{
die "Build failed: $!\n";
}
else
{
exit(0);
}