mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-22 20:57:53 +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($command eq "") {
|
||||
$command = $Global::replace{'{}'};
|
||||
} elsif($opt::pipe) {
|
||||
} elsif($opt::pipe and not $opt::fifo and not $opt::cat) {
|
||||
# With --pipe you can have ::: or not
|
||||
# if(@opt::a) {
|
||||
# $command .=" ".$Global::replace{'{}'};
|
||||
# }
|
||||
} elsif($opt::pipepart) {
|
||||
} elsif($opt::pipepart and not $opt::fifo and not $opt::cat) {
|
||||
# With --pipe-part you can have nothing
|
||||
} else {
|
||||
# Add {} to the command if there are no {...}'s
|
||||
|
|
Loading…
Reference in a new issue