@@ -161,10 +161,10 @@ |
||
161 | 161 | |
162 | 162 | $executable = new Executable\Tar($this->pathToTar); |
163 | 163 | $executable->archiveDirectory($this->path) |
164 | - ->useCompression($this->compression) |
|
165 | - ->ignoreFailedRead($this->ignoreFailedRead) |
|
166 | - ->removeSourceDirectory($this->removeSourceDir) |
|
167 | - ->archiveTo($this->pathToArchive); |
|
164 | + ->useCompression($this->compression) |
|
165 | + ->ignoreFailedRead($this->ignoreFailedRead) |
|
166 | + ->removeSourceDirectory($this->removeSourceDir) |
|
167 | + ->archiveTo($this->pathToArchive); |
|
168 | 168 | // add paths to exclude |
169 | 169 | foreach ($this->excludes as $path) { |
170 | 170 | $executable->addExclude($path); |
@@ -197,7 +197,7 @@ |
||
197 | 197 | } |
198 | 198 | |
199 | 199 | $tar->addOptionIfNotEmpty('--ignore-failed-read', $this->ignoreFailedRead, false); |
200 | - $tar->addOption('-' . $this->compression . 'cf'); |
|
200 | + $tar->addOption('-'.$this->compression.'cf'); |
|
201 | 201 | $tar->addArgument($this->tarPathname); |
202 | 202 | $tar->addOption('-C', dirname($this->path), ' '); |
203 | 203 | $tar->addArgument(basename($this->path)); |