summary refs log tree commit diff stats
path: root/tools/atlas/osutils.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tools/atlas/osutils.nim')
-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)