Skip to content

Commit

Permalink
Merge branch 'symfony-dispatch' of github.com:drush-ops/drush into sy…
Browse files Browse the repository at this point in the history
…mfony-dispatch
  • Loading branch information
greg-1-anderson committed Sep 25, 2017
2 parents dbe624a + 20749fb commit 2e9bf1a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Commands/core/SiteInstallCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ public function pre(CommandData $commandData)
$db_spec = $sql->getDbSpec();

$aliasRecord = $this->siteAliasManager()->getSelf();
$sites_subdir = drush_sitealias_local_site_path($aliasRecord->legacyRecord());


// @todo The function below is inscrutable. Would rather not port it. Please pass --sites-subdir for now.
// $sites_subdir = drush_sitealias_local_site_path($aliasRecord->legacyRecord());

// Override with sites-subdir if specified.
if ($dir = $commandData->input()->getOption('sites-subdir')) {
$sites_subdir = "sites/$dir";
Expand Down

0 comments on commit 2e9bf1a

Please sign in to comment.