Skip to content

Commit

Permalink
Fixes #856: Drush commands error with "env: drush9: No such file or d…
Browse files Browse the repository at this point in the history
…irectory. (#867)
  • Loading branch information
grasmash authored Dec 27, 2016
1 parent eaa8872 commit 1e6a810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/drush/policy.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
function policy_drush_sitealias_alter(&$alias_record) {
if (!empty($alias_record['uri'])
&& strstr($alias_record['uri'], 'acquia') !== FALSE
&& strstr($alias_record['remote-host'], 'acquia') !== FALSE
&& !empty($alias_record['path-aliases']['%drush-script'])
&& $alias_record['path-aliases']['%drush-script'] == 'drush9') {
// Acquia Cloud does not currently support drush9.
Expand Down

0 comments on commit 1e6a810

Please sign in to comment.