summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorGruruya <gruruya.chi4c@slmails.com>2023-05-27 04:55:31 -0400
committerGitHub <noreply@github.com>2023-05-27 10:55:31 +0200
commit6048367a9f3ba1af739a19d410ca2798a8c33fe0 (patch)
treea5eb460dd2e8c86919a0d94d3d0214469cb8576a
parentb0e1bc02c6381a8910195a91a073e62186ebd837 (diff)
downloadNim-6048367a9f3ba1af739a19d410ca2798a8c33fe0.tar.gz
Atlas: clone with `--recursive` (#21933)
-rw-r--r--tools/atlas/osutils.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/atlas/osutils.nim b/tools/atlas/osutils.nim
index 6134830b5..66cd29be5 100644
--- a/tools/atlas/osutils.nim
+++ b/tools/atlas/osutils.nim
@@ -32,7 +32,7 @@ proc cloneUrl*(url, dest: string; cloneUsingHttps: bool): string =
 
   if xcode == QuitSuccess:
     # retry multiple times to avoid annoying github timeouts:
-    let cmd = "git clone " & modUrl & " " & dest
+    let cmd = "git clone --recursive " & modUrl & " " & dest
     for i in 0..4:
       if execShellCmd(cmd) == 0: return ""
       os.sleep(4000)