@@ -86,17 +86,17 @@ |
||
| 86 | 86 | { |
| 87 | 87 | parent::install($repo, $package); |
| 88 | 88 | foreach ($this->getSupportedHooks() as $gitHookName) { |
| 89 | - $installedHookFilePath = $this->getInstallPath($package) . DIRECTORY_SEPARATOR . $gitHookName; |
|
| 89 | + $installedHookFilePath = $this->getInstallPath($package).DIRECTORY_SEPARATOR.$gitHookName; |
|
| 90 | 90 | |
| 91 | 91 | if (file_exists($installedHookFilePath)) { |
| 92 | - $hookDestinationPath = $this->getGitHooksPath() . DIRECTORY_SEPARATOR . $gitHookName; |
|
| 92 | + $hookDestinationPath = $this->getGitHooksPath().DIRECTORY_SEPARATOR.$gitHookName; |
|
| 93 | 93 | copy($installedHookFilePath, $hookDestinationPath); |
| 94 | 94 | chmod($hookDestinationPath, 0755); |
| 95 | 95 | } |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | // clean up temporary data |
| 99 | - exec('rm -rf ' . $this->getHooksInstallationPath()); |
|
| 99 | + exec('rm -rf '.$this->getHooksInstallationPath()); |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | /** |