aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Brewster <connor.brewster@eagles.oc.edu>2016-06-30 22:17:09 -0600
committerConnor Brewster <connor.brewster@eagles.oc.edu>2016-06-30 22:17:09 -0600
commit0b84921d0356118be04750b27e75ff3685947aa1 (patch)
tree795b1d096f2f885778add57e08516627c135ca50
parent5d225d9d667b469fc41ff543f3e84fef45555ace (diff)
downloadservo-0b84921d0356118be04750b27e75ff3685947aa1.tar.gz
servo-0b84921d0356118be04750b27e75ff3685947aa1.zip
Copy resources on linux package
-rw-r--r--python/servo/package_commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index fca44c00006..b910bcee347 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -154,6 +154,8 @@ class PackageCommands(CommandBase):
print("Packaged Servo into " + dmg_path)
else:
dir_to_package = '/'.join(binary_path.split('/')[:-1])
+ dir_to_root = '/'.join(binary_path.split('/')[:-3])
+ shutil.copytree(dir_to_root + '/resources', dir_to_package + '/resources')
browserhtml_path = find_dep_path_newest('browserhtml', binary_path)
if browserhtml_path is None:
print("Could not find browserhtml package; perhaps you haven't built Servo.")