ref #12 added new pwd location

This commit is contained in:
Andrei Yankovich 2021-04-15 21:33:26 +03:00
parent e874938f3c
commit 96f8cd89c3
2 changed files with 5 additions and 3 deletions

View File

@ -14,10 +14,10 @@ class BaseModule:
P_Android = 'Android'
P_Wasm = 'Wasm'
def __init__(self, platform):
def __init__(self, platform, pwd="."):
self.home = str(Path.home())
self.platform = platform
self.pwd = "."
self.pwd = pwd
if self.platform == self.P_Windows:
self.MULTIPLE_SH_COMMAND = ["cmd", "/c"]

View File

@ -10,7 +10,9 @@ import hashlib
class Make(BaseModule):
def __init__(self, platform):
BaseModule.__init__(self, platform)
BaseModule.__init__(self,
platform,
util.Interpolate('%(prop:project)s'))
self.tempRepoDir = ""
def isSupport(self, step):