Raku / nqp

NQP
Other
345 stars 131 forks source link

Don't error without git but all needed files are present #791

Closed patrickbkr closed 1 year ago

patrickbkr commented 1 year ago

If Git is not installed and / or the .git folder is not present (typically a release src archive), Configure.pl prints error messages about failing to execute git. The build continues and succeeds though if all three projects (MoarVM, NQP, Rakudo) are present. This change checks for the presence of the .git folder (not present = release archive) and skips the (unnecessary) submodule update in that case.