diff options
Diffstat (limited to 'var')
-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 = [] |