Commit dc8702f4 authored by Samuel Sirois's avatar Samuel Sirois

Remove drush option <contrib-destination> from "prepare install" command

We should parametrize this option through drush's make/yml files.

This will avoid an error that occurs in some situations where the folder
to specified in contrib-destination gets overwritten by a git clone.

e.g. : profiles/<my-profile> gets overwritten by a git clone while it might
have been parent folder of contrib modules previously downloaded.

This depends on the order a drush make/yml file has been written as far as
I can understand the issue.
parent 4e000231
Pipeline #1391 passed with stages
in 17 minutes and 49 seconds
......@@ -46,7 +46,6 @@ def make(action='install'):
# Update profile codebase
if env.site_profile and env.site_profile != '' and not h.is_core_profile(env.site_profile):
drush_opts += "--contrib-destination=profiles/{} ".format(env.site_profile)
h.update_profile()
if env.site_languages:
......
Markdown is supported
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