зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1743233: ./mach repackage fails to infer parameters. r=mhentges
`command_context.bindir` appears to be guaranteed to exist in `mozbuild`, so this should be perfectly safe. Differential Revision: https://phabricator.services.mozilla.com/D132404
This commit is contained in:
Родитель
0e1c070b32
Коммит
cd0f2dc3dc
|
@ -2211,8 +2211,8 @@ def repackage_msix(
|
|||
}
|
||||
|
||||
if not input:
|
||||
if os.path.exists(command_context.get("bindir")):
|
||||
input = command_context["bindir"]
|
||||
if os.path.exists(command_context.bindir):
|
||||
input = command_context.bindir
|
||||
else:
|
||||
command_context.log(
|
||||
logging.ERROR,
|
||||
|
|
Загрузка…
Ссылка в новой задаче