Commit a1a48c68 authored by Adrian Rossouw's avatar Adrian Rossouw

root should also change when cloning site.

parent 7048710e
...@@ -42,6 +42,7 @@ function drush_provision_drupal_provision_clone($new_uri, $platform = null) { ...@@ -42,6 +42,7 @@ function drush_provision_drupal_provision_clone($new_uri, $platform = null) {
$options['uri'] = ltrim($new_uri, '@'); $options['uri'] = ltrim($new_uri, '@');
$options['name'] = $new_uri; $options['name'] = $new_uri;
$options['platform'] = (isset($platform)) ? $platform : $options['platform']; $options['platform'] = (isset($platform)) ? $platform : $options['platform'];
$options['root'] = d($options['platform'])->root;
$options['aliases'] = array(); $options['aliases'] = array();
$options['redirection'] = 0; $options['redirection'] = 0;
......
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