Commit c8655de0 authored by Jon Pugh's avatar Jon Pugh

Change directory into the makefile dir so local paths work.

parent 3979e678
......@@ -62,6 +62,11 @@ function drush_provision_drupal_pre_provision_verify() {
}
$arguments[] = d()->makefile;
$arguments[] = d()->root;
// Change current directory to makefile's directory until Drush fixes this bug: https://github.com/drush-ops/drush/issues/2482
// @TODO: Remove this once is committed.
chdir(dirname(d()->makefile));
drush_invoke_process('@none', "make", $arguments, $options);
if (drush_get_error()) {
return drush_set_error("DRUSH_MAKE_FAILED",
......
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