How to apply a patch to drupal core using drush make

I am going to parse a drupal based site. When writing a drush make file, I found that there are some corrections to the modules and kernel contrib. I can instruct drush make to fix the Contrib modules using the patch option. But I can not make it a patch.

I tried both

projects[drupal][patch][] = ...
projects[core][patch][] = ... 

without success, nothing changes.

Can someone tell me?

+5
source share
1 answer

You seem to be on the right track. Here is what I use, which works and fixes correctly:

core = "6.x"
api = "2"

projects[drupal][type] = "core"
projects[drupal][version] = "6.28"
projects[drupal][patch][] = "http://drupalcode.org/project/openatrium.git/blob_plain/refs/heads/master:/robots_txt_rollback.patch"
+10
source

All Articles