Skip to content
Snippets Groups Projects
Commit b28d1528 authored by Paweł Szostek's avatar Paweł Szostek
Browse files

Minor change

parent 0488abd6
Branches
Tags
No related merge requests found
No preview for this file type
...@@ -99,7 +99,7 @@ class ModulePool(list): ...@@ -99,7 +99,7 @@ class ModulePool(list):
update_only = False update_only = False
if update_only: if update_only:
cmd = "git --git-dir="+basename+"/.git pull" cmd = "git --git-dir="+os.path.join(module.fetchto, basename)+"/.git pull"
else: else:
print module.fetchto print module.fetchto
os.chdir(module.fetchto) os.chdir(module.fetchto)
...@@ -114,7 +114,7 @@ class ModulePool(list): ...@@ -114,7 +114,7 @@ class ModulePool(list):
os.chdir(cur_dir) os.chdir(cur_dir)
if rev and rval: if rev and rval:
os.chdir(basename) os.chdir(os.path.join(module.fetchto, basename))
cmd = "git checkout " + rev cmd = "git checkout " + rev
p.vprint(cmd) p.vprint(cmd)
if os.system(cmd) != 0: if os.system(cmd) != 0:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment