Commit dc8702f4 authored by Samuel Sirois's avatar Samuel Sirois
Browse files

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
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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: