1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| | # Don't fetch nqp-configure from git (Guix supplies it as an input)
diff --git a/Configure.pl b/Configure.patched.pl
index ded227d..1fd59c8 100755
--- a/Configure.pl
+++ b/Configure.patched.pl
@@ -11,20 +11,6 @@ use File::Spec;
use File::Path;
use FindBin;
-BEGIN {
- # Download / Update submodules
- my $set_config = !qx{git config nqp.initialized};
- if ( !-e '3rdparty/nqp-configure/LICENSE' ) {
- my $code = system($^X, 'tools/build/update-submodules.pl', Cwd::cwd(), @ARGV);
- exit 1 if $code >> 8 != 0;
- $set_config = 1;
- }
- if ($set_config) {
- system("git config submodule.recurse true");
- system("git config nqp.initialized 1");
- }
-}
-
use lib ( "$FindBin::Bin/tools/lib",
"$FindBin::Bin/3rdparty/nqp-configure/lib", );
use NQP::Config qw<system_or_die>;
|