commit 870e8af0444404fba86d27302eedab2204b45b27
parent 9baf9da78e7831239f119bfdbe4549fc10e32cad
Author: Florian Dold <florian.dold@gmail.com>
Date: Thu, 10 Oct 2019 23:07:09 +0530
fix location
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bin/taler-deployment b/bin/taler-deployment
@@ -67,13 +67,15 @@ def bootstrap(envname):
("backoffice", "git://git.taler.net/backoffice"),
]
+ sources = home / "sources"
+
for (r_name, r_url) in repos:
r_dir = home / "sources" / r_name
if not r_dir.exists():
r_dir.mkdir(parents=True, exist_ok=True)
- subprocess.run(["git", "-C", r_dir.as_posix(), "clone", r_url], check=True)
+ subprocess.run(["git", "-C", sources.as_posix(), "clone", r_url], check=True)
tag = getattr(cfg, "tag_" + r_name)
- subprocess.run(["git", "-C", r_dir.as_posix(), "fetch"], check=True)
+ subprocess.run(["git", "-C", sources.as_posix(), "fetch"], check=True)
subprocess.run(
["git", "-C", r_dir.as_posix(), "checkout", "-q", "-f", tag, "--"],
check=True,