@@ -76,11 +76,11 @@ |
||
76 | 76 | ); |
77 | 77 | } else { |
78 | 78 | $this->executable->fromHost($this->host) |
79 | - ->fromUser($this->user) |
|
80 | - ->fromPath($this->path) |
|
81 | - ->toPath($this->getRsyncLocation($target, true)) |
|
82 | - ->removeDeleted($this->delete) |
|
83 | - ->exclude($this->excludes); |
|
79 | + ->fromUser($this->user) |
|
80 | + ->fromPath($this->path) |
|
81 | + ->toPath($this->getRsyncLocation($target, true)) |
|
82 | + ->removeDeleted($this->delete) |
|
83 | + ->exclude($this->excludes); |
|
84 | 84 | } |
85 | 85 | } |
86 | 86 | return $this->executable; |
@@ -71,10 +71,10 @@ |
||
71 | 71 | $this->executable = new Tar($this->pathToCommand); |
72 | 72 | $this->executable->archiveDirectory($this->path); |
73 | 73 | $this->executable->archiveTo($this->getArchiveFile($target)) |
74 | - ->useCompression( |
|
75 | - $target->shouldBeCompressed() ? $target->getCompression()->getCommand() : '' |
|
76 | - ) |
|
77 | - ->removeSourceDirectory(true); |
|
74 | + ->useCompression( |
|
75 | + $target->shouldBeCompressed() ? $target->getCompression()->getCommand() : '' |
|
76 | + ) |
|
77 | + ->removeSourceDirectory(true); |
|
78 | 78 | } |
79 | 79 | return $this->executable; |
80 | 80 | } |
@@ -291,7 +291,7 @@ |
||
291 | 291 | public function getFilenameSuffix($plain = false) |
292 | 292 | { |
293 | 293 | return (count($this->fileSuffixes) ? '.' . implode('.', $this->fileSuffixes) : '') |
294 | - . ($plain ? '' : $this->getCompressionSuffix() . $this->getCrypterSuffix()); |
|
294 | + . ($plain ? '' : $this->getCompressionSuffix() . $this->getCrypterSuffix()); |
|
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |