Skip to content

Commit

Permalink
Merge pull request #130 from magento-cicd/CICD-2267-develop
Browse files Browse the repository at this point in the history
CICD-2267: Fix auth.json permissions - develop
  • Loading branch information
Oleksii Korshenko authored Jul 6, 2016
2 parents 6ee307f + 8bfef05 commit 609be9d
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 609be9d

Please sign in to comment.