Commit 25fd4ae6 authored by Victor Nikulshin's avatar Victor Nikulshin

Merge branch 'feature/no-contrib-destination' into '2.x'

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.

See merge request !29
parents 4e000231 dc8702f4
Pipeline #1402 failed with stages
in 1032 minutes and 26 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