Skip to content

Commit

Permalink
Merge remote-tracking branch 'mainline/develop' into PR-Bugs-P2
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Zaets committed Jul 7, 2016
2 parents f57e3cc + 609be9d commit 117757a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/internal/Magento/Framework/Composer/ComposerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ public function __construct(
*/
public function create()
{
if (!getenv('COMPOSER_HOME')) {
putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
}
putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));

return \Composer\Factory::create(
new BufferIO(),
$this->composerJsonFinder->findComposerJson()
Expand Down

0 comments on commit 117757a

Please sign in to comment.