Commit a1993b25 authored by Philippe Mouchel's avatar Philippe Mouchel
Browse files

Copy aliases file instead of creating symlink

parent 150ad295
......@@ -72,7 +72,7 @@ def aliases():
# Create aliases
if h.fab_exists(role, '{}/aliases.drushrc.php'.format(drush_aliases)):
h.fab_run(role, 'rm {}/aliases.drushrc.php'.format(drush_aliases))
h.fab_run(role, 'ln -s {}/conf/aliases.drushrc.php .'.format(workspace))
h.fab_run(role, 'cp {}/conf/aliases.drushrc.php .'.format(workspace))
print(green('Drush aliases have been copied to {} directory.'.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