summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Rossouw2010-06-18 04:42:45 (GMT)
committerAdrian Rossouw2010-06-18 04:42:45 (GMT)
commit144ef6337b41e6b8e67ddacabf362fb63e17d42f (patch)
treef151c12b96b8059665585fb2d270f16039b2d2c5
parent30150a671ac57e3c15804e9eec979fe5294b9562 (diff)
Fix the mkdir(.) issue.
-rw-r--r--platform/verify.provision.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/verify.provision.inc b/platform/verify.provision.inc
index 2eb148c..54231d6 100644
--- a/platform/verify.provision.inc
+++ b/platform/verify.provision.inc
@@ -48,9 +48,6 @@ function drush_provision_drupal_pre_provision_verify() {
drush_log(dt("Platform path does not exists, fetching from drush makefile"));
drush_backend_invoke("make", array(d()->makefile, d()->root), array('root' => null, 'uri' => null));
if (!drush_get_error()) {
- drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_ROOT);
- }
- else {
return drush_set_error("DRUSH_MAKE_FAILED",
"Could not download platform using drush make. No platform present");
}
@@ -58,6 +55,7 @@ function drush_provision_drupal_pre_provision_verify() {
}
+ drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_ROOT);
provision_file()->writable(d()->root . '/sites')
->succeed('Drupal sites directory @path is writable by the provisioning script')
->fail('Drupal sites directory @path is not writable by the provisioning script', 'PROVISION_SITES_DIR_NOT_WRITABLE');