aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/package_commands.py
diff options
context:
space:
mode:
authorConnor Brewster <connor.brewster@eagles.oc.edu>2016-06-30 22:28:22 -0600
committerConnor Brewster <connor.brewster@eagles.oc.edu>2016-06-30 22:28:22 -0600
commit322d39442cb96b185944686489edd2ede32a71f2 (patch)
tree6ffdd8fc005dd9347d1cef34e141c6c5f54640d2 /python/servo/package_commands.py
parent0b84921d0356118be04750b27e75ff3685947aa1 (diff)
downloadservo-322d39442cb96b185944686489edd2ede32a71f2.tar.gz
servo-322d39442cb96b185944686489edd2ede32a71f2.zip
fix runservo.sh using absolute path
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r--python/servo/package_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index b910bcee347..6569598189f 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -174,7 +174,7 @@ class PackageCommands(CommandBase):
'--pref', 'dom.mozbrowser.enabled',
'--pref', 'dom.forcetouch.enabled',
'--pref', 'shell.builtin-key-shortcuts.enabled=false',
- path.join(browserhtml_path, 'out', 'index.html')]
+ path.join('./build/' + browserhtml_path.split('/')[-1], 'out', 'index.html')]
runservo = os.open(dir_to_package + '/runservo.sh', os.O_WRONLY | os.O_CREAT, int("0755", 8))
os.write(runservo, "./servo " + ' '.join(servo_args))