Commit 51032ec1 authored by Victor Nikulshin's avatar Victor Nikulshin
Browse files

Merge branch 'feature/drush-aliases-parent-directory' into '2.x'

Add parent directory creation when creating drush aliases' directory

<sites/all/> might not have been created yet (in drush8+d8 for instance)

See merge request !15
parents c16aeb80 6f9d67d2
Pipeline #1139 failed with stages
in 12 minutes and 14 seconds
......@@ -75,7 +75,7 @@ def aliases():
workspace = env.workspace
if not h.fab_exists(role, drush_aliases):
h.fab_run(role, 'mkdir {}'.format(drush_aliases))
h.fab_run(role, 'mkdir -p {}'.format(drush_aliases))
with h.fab_cd(role, drush_aliases):
# Create aliases
if h.fab_exists(role, '{}/aliases.drushrc.php'.format(drush_aliases)):
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