diff options
author | Milton Woods <miltonjwoods@gmail.com> | 2017-05-22 21:45:24 +1000 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-22 06:45:24 -0500 |
commit | 8ab845939780d1dfcc9a405d9dafff0ed0f2b26d (patch) | |
tree | f7bac8a87db08940db5a579e294f8ece91f1d3fa | |
parent | 132b3c56bc09e3cafef1355024d7efdee0e13744 (diff) | |
download | spack-8ab845939780d1dfcc9a405d9dafff0ed0f2b26d.tar.gz spack-8ab845939780d1dfcc9a405d9dafff0ed0f2b26d.tar.bz2 spack-8ab845939780d1dfcc9a405d9dafff0ed0f2b26d.tar.xz spack-8ab845939780d1dfcc9a405d9dafff0ed0f2b26d.zip |
magics: use spack perl instead of system perl (#4310)
-rw-r--r-- | var/spack/repos/builtin/packages/magics/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/magics/package.py b/var/spack/repos/builtin/packages/magics/package.py index 22fb6a73c3..fca92d69d4 100644 --- a/var/spack/repos/builtin/packages/magics/package.py +++ b/var/spack/repos/builtin/packages/magics/package.py @@ -23,6 +23,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * +import glob class Magics(Package): @@ -73,10 +74,9 @@ class Magics(Package): depends_on('libemos', when='+bufr') depends_on('qt', when='+metview+qt') - @when('@:2.29.6') def patch(self): - filter_file('#!/usr/bin/perl', '#!/usr/bin/env perl', - 'tools/xml2cc_new.pl') + for plfile in glob.glob('*/*.pl'): + filter_file('#!/usr/bin/perl', '#!/usr/bin/env perl', plfile) def install(self, spec, prefix): options = [] |