Commit f7fd5cc8 authored by Jon Pugh's avatar Jon Pugh
Browse files

Only change dir if the dir exists.

parent 457bfb6a
......@@ -65,8 +65,10 @@ function drush_provision_drupal_pre_provision_verify() {
// Change current directory to makefile's directory until Drush fixes this bug:
// @TODO: Remove this once is committed.
if (!empty(d()->makefile) && file_exists(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