mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
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:
parent
0e1c070b32
commit
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user