Commit 757f9010 authored by anarcat's avatar anarcat Committed by anarcat

allow users to override makefile to create aegir platform during upgrades

parent 54a0852f
......@@ -66,7 +66,7 @@ We are making the following assumptions:
'server' => '@server_master',
'web_server' => '@server_master',
'root' => $platform,
'makefile' => dirname(__FILE__) . '/aegir.make',
'makefile' => drush_get_option('makefile', dirname(__FILE__) . '/aegir.make'),
));
provision_backend_invoke($new_platform, 'provision-verify');
drush_set_option('new_platform', $new_platform);
......@@ -122,7 +122,7 @@ We are making the following assumptions:
'server' => $server,
'web_server' => $server,
'root' => $platform,
'makefile' => dirname(__FILE__) . '/aegir.make',
'makefile' => drush_get_option('makefile', dirname(__FILE__) . '/aegir.make'),
));
provision_backend_invoke($new_platform, 'provision-verify');
drush_set_option('new_platform', $new_platform);
......
......@@ -176,7 +176,8 @@ function provision_drush_command() {
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_ROOT,
'arguments' => array(
'example.com' => dt('The name of the site to migrate'),
'/path/to/platform' => dt('The platform to migrate the site to.')
'/path/to/platform' => dt('The platform to migrate the site to.'),
'--makefile' => dt('The optional makefile to use instead of aegir.')
),
);
......
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