From 985c49d47c51f004355834d76373383c43071a55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kocsis=20M=C3=A1t=C3=A9?= Date: Mon, 30 Mar 2015 22:27:13 +0200 Subject: [PATCH] Removed unnecessary cwd --- src/Composer/Installer/LibraryInstaller.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index 20ec97951..8b232b147 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/src/Composer/Installer/LibraryInstaller.php @@ -255,14 +255,12 @@ class LibraryInstaller implements InstallerInterface protected function installSymlinkBinaries($binPath, $link) { - $cwd = getcwd(); try { $symlink = new Symlink($this->filesystem); $symlink->symlinkBin($binPath, $link); } catch (\ErrorException $e) { $this->installUnixyProxyBinaries($binPath, $link); } - chdir($cwd); } protected function installUnixyProxyBinaries($binPath, $link)