1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Actually fix build regression from #102

This commit is contained in:
Nick Hastings 2023-09-24 13:49:50 -04:00
parent c3f0c4c7b6
commit e7dc35f3c8

View File

@ -13,8 +13,14 @@ use FindBin;
use lib $FindBin::Bin;
require 'helpers.pm';
#Go back to tree root.
my ($result);
chdir(Build::PathFormat('../..'));
$result = `git submodule update --init --recursive`;
print "$result\n";
#Go back above build dir
chdir(Build::PathFormat('../../..'));
chdir(Build::PathFormat('..'));
#Get the source path.
our ($root) = getcwd();