diff --git a/var/spack/repos/builtin/packages/sspace-standard/package.py b/var/spack/repos/builtin/packages/sspace-standard/package.py index bf7f6a0679..74e97d8a47 100644 --- a/var/spack/repos/builtin/packages/sspace-standard/package.py +++ b/var/spack/repos/builtin/packages/sspace-standard/package.py @@ -55,6 +55,9 @@ def install(self, spec, prefix): for s in scripts: filter_file('/usr/bin/perl', '/usr/bin/env perl', s, string=True) + filter_file('require "getopts.pl";', 'use Getopt::Std;', + s, string=True) + filter_file('&Getopts(', 'getopts(', s, string=True) install_tree('bin', prefix.bin) install_tree('bowtie', prefix.bowtie)