mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
ecaa1024a6
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
12 lines
454 B
Perl
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; }
|