@@ -260,7 +260,7 @@ |
||
| 260 | 260 | $tar->addOptionIfNotEmpty('--force-local', $this->local, false); |
| 261 | 261 | $tar->addOptionIfNotEmpty('--ignore-failed-read', $this->ignoreFailedRead, false); |
| 262 | 262 | $tar->addOptionIfNotEmpty('--use-compress-program', $this->compressProgram); |
| 263 | - $tar->addOption('-' . (empty($this->compressProgram) ? $this->compression : '') . $create); |
|
| 263 | + $tar->addOption('-'.(empty($this->compressProgram) ? $this->compression : '').$create); |
|
| 264 | 264 | |
| 265 | 265 | if ($this->isThrottled()) { |
| 266 | 266 | $pv = new Cmd('pv'); |
@@ -183,13 +183,13 @@ |
||
| 183 | 183 | |
| 184 | 184 | $executable = new Executable\Tar($this->pathToTar); |
| 185 | 185 | $executable->archiveDirectory($this->path) |
| 186 | - ->useCompression($this->compression) |
|
| 187 | - ->useCompressProgram($this->compressProgram) |
|
| 188 | - ->forceLocal($this->forceLocal) |
|
| 189 | - ->ignoreFailedRead($this->ignoreFailedRead) |
|
| 190 | - ->removeSourceDirectory($this->removeSourceDir) |
|
| 191 | - ->throttle($this->throttle) |
|
| 192 | - ->archiveTo($this->pathToArchive); |
|
| 186 | + ->useCompression($this->compression) |
|
| 187 | + ->useCompressProgram($this->compressProgram) |
|
| 188 | + ->forceLocal($this->forceLocal) |
|
| 189 | + ->ignoreFailedRead($this->ignoreFailedRead) |
|
| 190 | + ->removeSourceDirectory($this->removeSourceDir) |
|
| 191 | + ->throttle($this->throttle) |
|
| 192 | + ->archiveTo($this->pathToArchive); |
|
| 193 | 193 | // add paths to exclude |
| 194 | 194 | foreach ($this->excludes as $path) { |
| 195 | 195 | $executable->addExclude($path); |