1
0
Fork 0

Also clean up DYLD_LIBRARY_PATH before running git, refs #2146

pull/3627/merge
Jordi Boggiano 2015-01-11 23:09:41 +00:00
parent c58b7d917c
commit c9f666f60b
1 changed files with 3 additions and 0 deletions

View File

@ -169,6 +169,9 @@ class Git
if (getenv('GIT_WORK_TREE')) { if (getenv('GIT_WORK_TREE')) {
putenv('GIT_WORK_TREE'); putenv('GIT_WORK_TREE');
} }
// clean up env for OSX, see https://github.com/composer/composer/issues/2146#issuecomment-35478940
putenv("DYLD_LIBRARY_PATH");
} }
public static function getGitHubDomainsRegex(Config $config) public static function getGitHubDomainsRegex(Config $config)