1
0
Fork 0

Install/update now uses the new config variable 'prefer-source', fixes #553

pull/1658/head
Miklós Márton 2013-03-04 20:29:14 +01:00
parent 0f8530ef56
commit 0d81ab7f46
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ EOT
$install
->setDryRun($input->getOption('dry-run'))
->setVerbose($input->getOption('verbose'))
->setPreferSource($input->getOption('prefer-source'))
->setPreferSource($input->getOption('prefer-source') || $composer->getConfig()->get('prefer-source'))
->setPreferDist($input->getOption('prefer-dist'))
->setDevMode($input->getOption('dev'))
->setRunScripts(!$input->getOption('no-scripts'))

View File

@ -67,7 +67,7 @@ EOT
$install
->setDryRun($input->getOption('dry-run'))
->setVerbose($input->getOption('verbose'))
->setPreferSource($input->getOption('prefer-source'))
->setPreferSource($input->getOption('prefer-source') || $composer->getConfig()->get('prefer-source'))
->setPreferDist($input->getOption('prefer-dist'))
->setDevMode(!$input->getOption('no-dev'))
->setRunScripts(!$input->getOption('no-scripts'))