Skip to content

Commit 0f9ec96

Browse files
committed
Update build scripts for Perl update.
This is copied from psychonic's SourceMod fixes.
1 parent ff2b514 commit 0f9ec96

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

support/buildbot/bootstrap.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
my ($myself, $path) = fileparse($0);
1010
chdir($path);
1111

12+
use FindBin;
13+
use lib $FindBin::Bin;
1214
require 'helpers.pm';
1315

1416
#Go back above build dir

support/buildbot/package.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
my ($myself, $path) = fileparse($0);
3030
chdir($path);
3131

32+
use FindBin;
33+
use lib $FindBin::Bin;
3234
require 'helpers.pm';
3335

3436
my ($version);
@@ -155,4 +157,4 @@
155157

156158
print "Files sent to drop site -- build succeeded.\n";
157159

158-
exit(0);
160+
exit(0);

support/buildbot/startbuild.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
my ($myself, $path) = fileparse($0);
66
chdir($path);
77

8+
use FindBin;
9+
use lib $FindBin::Bin;
810
require 'helpers.pm';
911

1012
chdir('../../../OUTPUT');

0 commit comments

Comments
 (0)