From 2c3d409548f1899cb556ccb6c05a0bf95fde07b3 Mon Sep 17 00:00:00 2001 From: Ole Tange Date: Thu, 5 Jun 2014 04:00:50 +0200 Subject: [PATCH] Fixed bug #42363: --pipepart and --fifo/--cat does not work. --- src/parallel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parallel b/src/parallel index 21f1a3e1..ae966e58 100755 --- a/src/parallel +++ b/src/parallel @@ -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