Expand ~ in --with-gecko for ./mach build-geckolib

This commit is contained in:
Manish Goregaokar 2017-01-09 13:19:57 -08:00
parent 50bba770d6
commit bf11fe3531

View file

@ -408,7 +408,7 @@ class MachCommands(CommandBase):
opts = []
if with_gecko is not None:
opts += ["--features", "bindgen"]
env["MOZ_DIST"] = path.abspath(with_gecko)
env["MOZ_DIST"] = path.abspath(path.expanduser(with_gecko))
if jobs is not None:
opts += ["-j", jobs]
if verbose: