summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2018-05-30 12:31:05 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-05-30 12:31:05 -0500
commit55e42dca2c7627e00abfaec60ece96861ce77d4c (patch)
treee5272c1cbb5a36215d7d2a4ddb66180d3453b43d /var
parent5c56f2467bdf2d6be9f2e9a891ff8fe1a20d8b1c (diff)
downloadspack-55e42dca2c7627e00abfaec60ece96861ce77d4c.tar.gz
spack-55e42dca2c7627e00abfaec60ece96861ce77d4c.tar.bz2
spack-55e42dca2c7627e00abfaec60ece96861ce77d4c.tar.xz
spack-55e42dca2c7627e00abfaec60ece96861ce77d4c.zip
trimgalore: Use perl from env (#8318)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/trimgalore/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trimgalore/package.py b/var/spack/repos/builtin/packages/trimgalore/package.py
index fe51368934..6374c9c6e4 100644
--- a/var/spack/repos/builtin/packages/trimgalore/package.py
+++ b/var/spack/repos/builtin/packages/trimgalore/package.py
@@ -41,5 +41,7 @@ class Trimgalore(Package):
depends_on('fastqc')
def install(self, spec, prefix):
+ filter_file(r'#!/usr/bin/perl', '#!/usr/bin/env perl', 'trim_galore')
+
mkdirp(prefix.bin)
install('trim_galore', prefix.bin)