| ... | ... | @@ -16,8 +16,7 @@ pub const DepType = enum { |
| 16 | 16 | switch (self) { |
| 17 | 17 | .system_lib => {}, |
| 18 | 18 | .git => { |
| 19 | | _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); |
| 20 | | _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"}); |
| 19 | _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", "--recurse-submodules", rpath, dpath}); |
| 21 | 20 | }, |
| 22 | 21 | .hg => { |
| 23 | 22 | _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); |