Commit fe5da461 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

No longer use the drush.php link in the platform directory for migration

parent 754b13e5
......@@ -54,7 +54,7 @@ function provision_provision_pre_migrate_rollback(&$data, $url, $platform) {
* Switch the migrate directories around now that we have the new db installed
*/
function provision_drupal_provision_migrate(&$data, $url, $platform) {
$cmd = sprintf("(cd %s; ./drush.php provision deploy %s %s --backend=1)", $platform, $url, $data['backup_file']);
$cmd = sprintf("%s provision deploy %s %s --root=%s --backend=1", $_SERVER['argv'][0], $url, $data['backup_file'], $platform);
provision_exec($cmd,$data);
}
......
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