diff --git a/t/autoqc_util.pm b/t/autoqc_util.pm index ad20a362..4777c6d5 100644 --- a/t/autoqc_util.pm +++ b/t/autoqc_util.pm @@ -77,7 +77,7 @@ sub write_seqtk_script { my $fh; open($fh, '>', $script_path) or croak "Cannot open $script_path for writing"; - print $fh '#!/usr/local/bin/bash'; + print $fh '#!/usr/bin/env bash'; print $fh "\n"; print $fh '# Script to fake seqtk in testing. Automatically generated by npg at ' . time; print $fh "\n"; @@ -108,7 +108,7 @@ sub write_bwa_script { my $fh; open($fh, '>', $script_path) or croak "Cannot open $script_path for writing"; - print $fh '#!/usr/local/bin/bash'; + print $fh '#!/usr/bin/env bash'; print $fh "\n"; print $fh '# Script to fake BWA tool in testing. Automatically generated by npg at ' . time; print $fh "\n";