nixpkgs/pkgs/development/compilers/graalvm/004_mx_jvmci.py.patch
2019-05-09 13:59:32 -04:00

12 lines
554 B
Diff

diff --git a/mx.jvmci/mx_jvmci.py b/mx.jvmci/mx_jvmci.py
index 491fc19ab9..b4ddc03abb 100644
--- a/mx.jvmci/mx_jvmci.py
+++ b/mx.jvmci/mx_jvmci.py
@@ -192,6 +192,7 @@ class HotSpotVMJDKDeployedDist(JDKDeployedDist):
if m.name in _hs_deploy_map:
targetDir = join(jdkDir, _hs_deploy_map[m.name])
mx.logv('Deploying {} from {} to {}'.format(m.name, dist.name, targetDir))
+ subprocess.call(["chmod", "-R", "+rw", targetDir])
tar.extract(m, targetDir)
"""