From 55e42dca2c7627e00abfaec60ece96861ce77d4c Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 30 May 2018 12:31:05 -0500 Subject: [PATCH] trimgalore: Use perl from env (#8318) --- var/spack/repos/builtin/packages/trimgalore/package.py | 2 ++ 1 file changed, 2 insertions(+) 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)