aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-01-09 13:19:57 -0800
committerManish Goregaokar <manishsmail@gmail.com>2017-01-09 13:19:57 -0800
commitbf11fe3531723cbdf1e0ff4ba6aac18afbb33f1e (patch)
tree4fdd2f0aeee30f858e9feb23f463012cfd5b2b7b /python/servo/build_commands.py
parent50bba770d6073bba6e6e219dbc3687087a864a42 (diff)
downloadservo-bf11fe3531723cbdf1e0ff4ba6aac18afbb33f1e.tar.gz
servo-bf11fe3531723cbdf1e0ff4ba6aac18afbb33f1e.zip
Expand ~ in --with-gecko for ./mach build-geckolib
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index bd09221d56f..8948aecd4bd 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -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: