@@ -95,8 +95,8 @@ |
||
| 95 | 95 | throw new Exception('no command to execute'); |
| 96 | 96 | } |
| 97 | 97 | $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0]) |
| 98 | - . (!empty($this->sCmdCompressor) ? ' | ' . $this->sCmdCompressor : '') |
|
| 99 | - . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : ''); |
|
| 98 | + . (!empty($this->sCmdCompressor) ? ' | ' . $this->sCmdCompressor : '') |
|
| 99 | + . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : ''); |
|
| 100 | 100 | |
| 101 | 101 | return $cmd; |
| 102 | 102 | } |
@@ -94,9 +94,9 @@ |
||
| 94 | 94 | if ($amount < 1) { |
| 95 | 95 | throw new Exception('no command to execute'); |
| 96 | 96 | } |
| 97 | - $cmd = ($amount > 1 ? '(' . implode(' && ', $this->commands) . ')' : $this->commands[0]) |
|
| 98 | - . (!empty($this->sCmdCompressor) ? ' | ' . $this->sCmdCompressor : '') |
|
| 99 | - . (!empty($this->redirectOutput) ? ' > ' . $this->redirectOutput : ''); |
|
| 97 | + $cmd = ($amount > 1 ? '('.implode(' && ', $this->commands).')' : $this->commands[0]) |
|
| 98 | + . (!empty($this->sCmdCompressor) ? ' | '.$this->sCmdCompressor : '') |
|
| 99 | + . (!empty($this->redirectOutput) ? ' > '.$this->redirectOutput : ''); |
|
| 100 | 100 | |
| 101 | 101 | return $cmd; |
| 102 | 102 | } |