mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
Fixed bug #42363: --pipepart and --fifo/--cat does not work.
This commit is contained in:
parent
511623aa70
commit
2c3d409548
|
@ -5521,12 +5521,12 @@ sub new {
|
||||||
if($sum == 0) {
|
if($sum == 0) {
|
||||||
if($command eq "") {
|
if($command eq "") {
|
||||||
$command = $Global::replace{'{}'};
|
$command = $Global::replace{'{}'};
|
||||||
} elsif($opt::pipe) {
|
} elsif($opt::pipe and not $opt::fifo and not $opt::cat) {
|
||||||
# With --pipe you can have ::: or not
|
# With --pipe you can have ::: or not
|
||||||
# if(@opt::a) {
|
# if(@opt::a) {
|
||||||
# $command .=" ".$Global::replace{'{}'};
|
# $command .=" ".$Global::replace{'{}'};
|
||||||
# }
|
# }
|
||||||
} elsif($opt::pipepart) {
|
} elsif($opt::pipepart and not $opt::fifo and not $opt::cat) {
|
||||||
# With --pipe-part you can have nothing
|
# With --pipe-part you can have nothing
|
||||||
} else {
|
} else {
|
||||||
# Add {} to the command if there are no {...}'s
|
# Add {} to the command if there are no {...}'s
|
||||||
|
|
Loading…
Reference in a new issue