metamod-source/support/buildbot/startbuild.pl
Nick Hastings 80e8ff0be3 Fix helpers module path lookup on newer Perl versions.
(cherry picked from commit 510454907a)
(cherry picked from commit 3bfd9a1cb7)
2022-06-24 10:12:40 -04:00

26 lines
310 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);
use FindBin;
use lib $FindBin::Bin;
require 'helpers.pm';
chdir('../../../OUTPUT');
system("ambuild --no-color 2>&1");
if ($? != 0)
{
die "Build failed: $!\n";
}
else
{
exit(0);
}