Commit 6f9d67d2 authored by Samuel Sirois's avatar Samuel Sirois
Browse files

Add parent directory creation when creating drush aliases' directory

<sites/all/> might not have been created yet.
parent c16aeb80
Pipeline #1118 failed with stages
in 1 minute and 17 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