diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/clapack/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/clapack/package.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/clapack/package.py b/var/spack/repos/builtin/packages/clapack/package.py index 73c4414d31..dd0076db43 100644 --- a/var/spack/repos/builtin/packages/clapack/package.py +++ b/var/spack/repos/builtin/packages/clapack/package.py @@ -23,7 +23,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * -from distutils.dir_util import copy_tree class Clapack(MakefilePackage): @@ -46,7 +45,7 @@ class Clapack(MakefilePackage): depends_on('atlas', when='+external-blas') def edit(self, spec, prefix): - install('make.inc.example', 'make.inc') + copy('make.inc.example', 'make.inc') if '+external-blas' in spec: make_inc = FileFilter('make.inc') make_inc.filter(r'^BLASLIB.*', @@ -60,4 +59,4 @@ class Clapack(MakefilePackage): make('lib') def install(self, spec, prefix): - copy_tree('.', prefix) + install_tree('.', prefix) |