summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/jdk/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/jdk/package.py')
-rw-r--r--var/spack/repos/builtin/packages/jdk/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/jdk/package.py b/var/spack/repos/builtin/packages/jdk/package.py
index b39c32bc07..f6f78b9501 100644
--- a/var/spack/repos/builtin/packages/jdk/package.py
+++ b/var/spack/repos/builtin/packages/jdk/package.py
@@ -25,7 +25,6 @@
#
# Author: Justin Too <too1@llnl.gov>
#
-import distutils.dir_util
from spack import *
@@ -72,7 +71,7 @@ class Jdk(Package):
return url.format(version, minor_version)
def install(self, spec, prefix):
- distutils.dir_util.copy_tree(".", prefix)
+ install_tree('.', prefix)
def setup_environment(self, spack_env, run_env):
run_env.set('JAVA_HOME', self.spec.prefix)