@@ -238,7 +238,7 @@ |
||
| 238 | 238 | $tar->addOptionIfNotEmpty('--force-local', $this->local, false); |
| 239 | 239 | $tar->addOptionIfNotEmpty('--ignore-failed-read', $this->ignoreFailedRead, false); |
| 240 | 240 | $tar->addOptionIfNotEmpty('--use-compress-program', $this->compressProgram); |
| 241 | - $tar->addOption('-' . (empty($this->compressProgram) ? $this->compression : '') . 'cf'); |
|
| 241 | + $tar->addOption('-'.(empty($this->compressProgram) ? $this->compression : '').'cf'); |
|
| 242 | 242 | $tar->addArgument($this->tarPathname); |
| 243 | 243 | $tar->addOption('-C', dirname($this->path), ' '); |
| 244 | 244 | $tar->addArgument(basename($this->path)); |
@@ -180,12 +180,12 @@ |
||
| 180 | 180 | |
| 181 | 181 | $executable = new Executable\Tar($this->pathToTar); |
| 182 | 182 | $executable->archiveDirectory($this->path) |
| 183 | - ->useCompression($this->compression) |
|
| 184 | - ->useCompressProgram($this->compressProgram) |
|
| 185 | - ->forceLocal($this->forceLocal) |
|
| 186 | - ->ignoreFailedRead($this->ignoreFailedRead) |
|
| 187 | - ->removeSourceDirectory($this->removeSourceDir) |
|
| 188 | - ->archiveTo($this->pathToArchive); |
|
| 183 | + ->useCompression($this->compression) |
|
| 184 | + ->useCompressProgram($this->compressProgram) |
|
| 185 | + ->forceLocal($this->forceLocal) |
|
| 186 | + ->ignoreFailedRead($this->ignoreFailedRead) |
|
| 187 | + ->removeSourceDirectory($this->removeSourceDir) |
|
| 188 | + ->archiveTo($this->pathToArchive); |
|
| 189 | 189 | // add paths to exclude |
| 190 | 190 | foreach ($this->excludes as $path) { |
| 191 | 191 | $executable->addExclude($path); |