ostbuild: Use correct directory for submodule update
This commit is contained in:
parent
9939f1861d
commit
b26b981b0d
|
|
@ -63,7 +63,7 @@ def get_vcs_checkout(mirrordir, keytype, uri, dest, branch, overwrite=True):
|
|||
run_sync(['git', 'submodule', 'init'], cwd=tmp_dest)
|
||||
have_submodules = _fixup_submodule_references(mirrordir, tmp_dest)
|
||||
if have_submodules:
|
||||
run_sync(['git', 'submodule', 'update'])
|
||||
run_sync(['git', 'submodule', 'update'], cwd=tmp_dest)
|
||||
os.rename(tmp_dest, dest)
|
||||
return dest
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue