mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
servo: Merge #14932 - Expand ~ in --with-gecko for ./mach build-geckolib (from Manishearth:abspath); r=jdm
Otherwise `~/foo` expands to `/local/folder/~/foo`. Source-Repo: https://github.com/servo/servo Source-Revision: ed3f53211ca91a90258c9bc2b8abceddb34e6847
This commit is contained in:
parent
f0271e5f4e
commit
c0c991c60c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user