1
0
Fork 0

Removed unnecessary cwd

pull/3704/head
Kocsis Máté 2015-03-30 22:27:13 +02:00
parent 258408524f
commit 985c49d47c
1 changed files with 0 additions and 2 deletions

View File

@ -255,14 +255,12 @@ class LibraryInstaller implements InstallerInterface
protected function installSymlinkBinaries($binPath, $link) protected function installSymlinkBinaries($binPath, $link)
{ {
$cwd = getcwd();
try { try {
$symlink = new Symlink($this->filesystem); $symlink = new Symlink($this->filesystem);
$symlink->symlinkBin($binPath, $link); $symlink->symlinkBin($binPath, $link);
} catch (\ErrorException $e) { } catch (\ErrorException $e) {
$this->installUnixyProxyBinaries($binPath, $link); $this->installUnixyProxyBinaries($binPath, $link);
} }
chdir($cwd);
} }
protected function installUnixyProxyBinaries($binPath, $link) protected function installUnixyProxyBinaries($binPath, $link)