зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1485485 - Followup: Fix which function definition in derrived classes. r=froydnj
This commit is contained in:
Родитель
bd242c33f1
Коммит
efa3734e21
|
@ -18,8 +18,8 @@ class MozillaBuildBootstrapper(BaseBootstrapper):
|
|||
no_system_changes=no_system_changes)
|
||||
print("mach bootstrap is not fully implemented in MozillaBuild")
|
||||
|
||||
def which(self, name):
|
||||
return BaseBootstrapper.which(self, name + '.exe')
|
||||
def which(self, name, *extra_search_dirs):
|
||||
return BaseBootstrapper.which(self, name + '.exe', *extra_search_dirs)
|
||||
|
||||
def install_system_packages(self):
|
||||
pass
|
||||
|
|
|
@ -50,8 +50,8 @@ class WindowsBootstrapper(BaseBootstrapper):
|
|||
'pacman. Get msys2 at http://msys2.github.io/')
|
||||
print('Using an experimental bootstrapper for Windows.')
|
||||
|
||||
def which(self, name):
|
||||
return BaseBootstrapper.which(self, name + '.exe')
|
||||
def which(self, name, *extra_search_dirs):
|
||||
return BaseBootstrapper.which(self, name + '.exe', *extra_search_dirs)
|
||||
|
||||
def install_system_packages(self):
|
||||
self.pacman_install(*self.SYSTEM_PACKAGES)
|
||||
|
|
Загрузка…
Ссылка в новой задаче