From be9b75b493e145cdd0679e336a7e32b1566bf05b Mon Sep 17 00:00:00 2001 From: dam1n19 <dam1n19@soton.ac.uk> Date: Wed, 5 Jul 2023 18:36:00 +0100 Subject: [PATCH] Updates to checkout --- bin/subrepo_checkout.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/subrepo_checkout.py b/bin/subrepo_checkout.py index d6ac609..e2a3e08 100755 --- a/bin/subrepo_checkout.py +++ b/bin/subrepo_checkout.py @@ -41,7 +41,8 @@ def find_branchfile(directory, branchfile): def repo_checkout(directory, branch, branchfile): print(f"Checking out {directory} to branch {branch}") - os.system(f"cd {directory}; git checkout --recurse-submodules {branch}; git pull") + os.system(f"cd {directory}; git checkout --recurse-submodules {branch}") + os.system(f"cd {directory}; git pull") find_branchfile(directory, branchfile) if __name__ == "__main__": -- GitLab