Commit 7b8fa582 authored by Jorge Olmos's avatar Jorge Olmos
Browse files

source: Fix extract in git sources

Use os.makedirs which can create several path levels at once, instead of
For instance Cmake sources are extracted to ARCH/PACKAGE-VERSION/_builddir/
and two directories have to be created.
All other source types are already using os.makedirs.

Part-of: <!700>
parent a22194b1
......@@ -380,7 +380,7 @@ class Git (GitCache):
if not os.path.exists(self.build_dir):
# checkout the current version
await git.local_checkout(self.build_dir, self.repo_dir, self.commit, logfile=get_logfile(self))
Markdown is supported
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