Skip to content
Snippets Groups Projects
Commit 1d6ac54c authored by totten's avatar totten
Browse files

fixup Use env-var CIVICRM_COMPOSER_ASSET so that all local builds can change file-mode

parent 2a997e29
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class CivicrmPublishCommand extends \Composer\Command\BaseCommand {
protected function execute(InputInterface $input, OutputInterface $output) {
$fileMode = $input->getOption('file-mode');
if ($fileMode && in_array($fileMode, ['auto','copy','symlink','symdir'])) {
if ($fileMode && in_array($fileMode, ['auto', 'copy', 'symlink', 'symdir'])) {
putenv('CIVICRM_COMPOSER_ASSET=' . $fileMode);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment