Update biology/bcftools to version 1.6
[dports.git] / biology / bcftools / files / patch-misc_run-roh.pl
1 --- misc/run-roh.pl.orig        2017-10-18 09:33:24 UTC
2 +++ misc/run-roh.pl
3 @@ -97,7 +97,7 @@ sub cmd
4      else 
5      {      
6          # child
7 -        exec('/bin/bash', '-o','pipefail','-c', $cmd) or error("Failed to run the command [/bin/sh -o pipefail -c $cmd]: $!");
8 +        exec('/bin/sh', '-c', $cmd) or error("Failed to run the command [/bin/sh -c $cmd]: $!");
9      }
10  
11      if ( exists($args{exit_on_error}) && !$args{exit_on_error} ) { return @out; }