Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
Fixed how drush features-revert-all is called so it uses the --force …
Browse files Browse the repository at this point in the history
…option on drush build.
  • Loading branch information
juampynr committed Apr 25, 2013
1 parent f7dc0e3 commit 4a70f5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drush/commands/build.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ function build_drush_command() {
*/
function _drush_build() {
drush_invoke('updatedb');
drush_invoke('features-revert-all', array('force' => TRUE));
drush_invoke_process('@self', 'features-revert-all', array(), array(
'force' => TRUE,
'yes' => TRUE,
));
drush_invoke('cc', array('type' => 'all'));
drush_log(dt('Built!'), 'success');
}
Expand Down

0 comments on commit 4a70f5b

Please sign in to comment.