Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup commands not using multisite param #1676

Closed
simesy opened this issue Jun 16, 2017 · 4 comments
Closed

setup commands not using multisite param #1676

simesy opened this issue Jun 16, 2017 · 4 comments
Labels
Bug Something isn't working

Comments

@simesy
Copy link

simesy commented Jun 16, 2017

As a dev I want to use the -Dsite=blah switch to run commands.

When I run some commands like blt setup -Dsite=foo and blt setup:drupal:install -Dsite=foo I'm seeing --uri=default in the drush commands.

Looking here it seems to get the multisite config value, and then ignore it.
https://github.com/acquia/blt/blob/8.x/src/Robo/Commands/Setup/BuildCommand.php#L23-L29

@grasmash grasmash added the Bug Something isn't working label Jun 16, 2017
@grasmash
Copy link
Contributor

The correct syntax would be

blt setup -Dsite=foo. With Robo, you need a space after the -D.

@grasmash
Copy link
Contributor

You'll need to pass drush.uri as well.

@grasmash
Copy link
Contributor

I believe this is resolved in 8.x via #1691

@simesy
Copy link
Author

simesy commented Jun 20, 2017

Confirmed fixed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants