mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
clone --recursive in build-all.py
This commit is contained in:
+1
-1
@@ -336,7 +336,7 @@ def git_clone_or_pull_repository(clone_url, target_dir, revision=None):
|
|||||||
`None`."""
|
`None`."""
|
||||||
if not os.path.exists(target_dir):
|
if not os.path.exists(target_dir):
|
||||||
logger.info("cloning '%s' into '%s'" % (clone_url, target_dir))
|
logger.info("cloning '%s' into '%s'" % (clone_url, target_dir))
|
||||||
run([git, "clone", clone_url, target_dir])
|
run([git, "clone", "--recursive", clone_url, target_dir])
|
||||||
else:
|
else:
|
||||||
logger.info("directory '%s' already cloned. Pulling latest changes." % (target_dir,))
|
logger.info("directory '%s' already cloned. Pulling latest changes." % (target_dir,))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user