Bug 1485485 - Followup: Fix which function definition in derrived classes. r=froydnj

This commit is contained in:
Bas Schouten 2018-08-28 18:24:50 +02:00
Родитель bd242c33f1
Коммит efa3734e21
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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)