Commit a1a9e2fe authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Merge branch 'bug/site-name' into '2.x'

Bug/site name

We need quotation marks so that the site name will be whole and not multiple arguments to drush.

See merge request !3
parents e7304d50 fba43ca1
......@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
This file should respect change log[best practices].
This project adheres to[Semantic Versioning].
== [Unreleased]
### Fixed
* Site name can now have whitespaces without breaking the shell execution string
== 2.0.0 - 2016/05/09
=== Added
......@@ -117,7 +117,7 @@ def site_install():
with h.fab_cd(role, site_root):
locale = '--locale="fr"' if env.locale else ''
h.fab_run(role, 'sudo -u {} drush site-install {} {} --db-url=mysql://{}:{}@{}/{} --site-name={} '
h.fab_run(role, 'sudo -u {} drush site-install {} {} --db-url=mysql://{}:{}@{}/{} --site-name="{}" '
'--account-name={} --account-pass={} --sites-subdir={} -y'.format(apache, profile, locale,
db_user, db_pass,
db_host, db_name, site_name,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment