1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/biology/bcftools/files/patch-misc_run-roh.pl
Luca Pizzamiglio ecaa1024a6 biology/htslib biology/bcftools biology/samtools: Update to 1.6
PR:		223094
Submitted by:	mzaki@niid.go.jp
Approved by:	cartwright@asu.edu (maintainer)
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12768
2017-10-25 10:19:50 +00:00

12 lines
454 B
Perl

--- misc/run-roh.pl.orig 2017-10-18 09:33:24 UTC
+++ misc/run-roh.pl
@@ -97,7 +97,7 @@ sub cmd
else
{
# child
- exec('/bin/bash', '-o','pipefail','-c', $cmd) or error("Failed to run the command [/bin/sh -o pipefail -c $cmd]: $!");
+ exec('/bin/sh', '-c', $cmd) or error("Failed to run the command [/bin/sh -c $cmd]: $!");
}
if ( exists($args{exit_on_error}) && !$args{exit_on_error} ) { return @out; }