trimgalore: Use perl from env (#8318)

This commit is contained in:
Eric 2018-05-30 12:31:05 -05:00 committed by Adam J. Stewart
parent 5c56f2467b
commit 55e42dca2c

View file

@ -41,5 +41,7 @@ class Trimgalore(Package):
depends_on('fastqc') depends_on('fastqc')
def install(self, spec, prefix): def install(self, spec, prefix):
filter_file(r'#!/usr/bin/perl', '#!/usr/bin/env perl', 'trim_galore')
mkdirp(prefix.bin) mkdirp(prefix.bin)
install('trim_galore', prefix.bin) install('trim_galore', prefix.bin)