win32/build.py: restore option "out_of_tree"
Got lost in the previous commit.
This commit is contained in:
parent
556f9ee39c
commit
ec2a2522aa
@ -92,9 +92,13 @@ class Project:
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def unpack(self):
|
def unpack(self, out_of_tree=True):
|
||||||
global src_path
|
global src_path, build_path
|
||||||
return untar(self.download(), src_path, self.base)
|
if out_of_tree:
|
||||||
|
parent_path = src_path
|
||||||
|
else:
|
||||||
|
parent_path = build_path
|
||||||
|
return untar(self.download(), parent_path, self.base)
|
||||||
|
|
||||||
def make_build_path(self):
|
def make_build_path(self):
|
||||||
path = os.path.join(build_path, self.base)
|
path = os.path.join(build_path, self.base)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user