diff --git a/BuildBotLib/basemodule.py b/BuildBotLib/basemodule.py index 62d495d..2525de7 100644 --- a/BuildBotLib/basemodule.py +++ b/BuildBotLib/basemodule.py @@ -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"] diff --git a/BuildBotLib/make.py b/BuildBotLib/make.py index 653adef..55c4932 100644 --- a/BuildBotLib/make.py +++ b/BuildBotLib/make.py @@ -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):