mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 02:18:30 +00:00
Fix helpers module path lookup on newer Perl versions.
(cherry picked from commit510454907a) (cherry picked from commit3bfd9a1cb7)
This commit is contained in:
parent
d45dd28e15
commit
80e8ff0be3
@ -9,6 +9,8 @@ use File::Path;
|
||||
my ($myself, $path) = fileparse($0);
|
||||
chdir($path);
|
||||
|
||||
use FindBin;
|
||||
use lib $FindBin::Bin;
|
||||
require 'helpers.pm';
|
||||
|
||||
#Go back above build dir
|
||||
|
||||
@ -26,6 +26,8 @@ chomp $ftp_path;
|
||||
my ($myself, $path) = fileparse($0);
|
||||
chdir($path);
|
||||
|
||||
use FindBin;
|
||||
use lib $FindBin::Bin;
|
||||
require 'helpers.pm';
|
||||
|
||||
#Switch to the output folder.
|
||||
|
||||
@ -6,6 +6,8 @@ use File::Basename;
|
||||
my ($myself, $path) = fileparse($0);
|
||||
chdir($path);
|
||||
|
||||
use FindBin;
|
||||
use lib $FindBin::Bin;
|
||||
require 'helpers.pm';
|
||||
|
||||
chdir('../../../OUTPUT');
|
||||
|
||||
@ -5,6 +5,8 @@ use File::Basename;
|
||||
my ($myself, $path) = fileparse($0);
|
||||
chdir($path);
|
||||
|
||||
use FindBin;
|
||||
use lib $FindBin::Bin;
|
||||
require 'helpers.pm';
|
||||
|
||||
chdir('..');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user