Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Find drushrc.php in a project's drush/ directory as well as in the co…
Browse files Browse the repository at this point in the history
…nf/ directory.
  • Loading branch information
becw committed May 1, 2018
1 parent 91d5b35 commit d4093ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/vagrant/provisioning/roles/drush/bin/drush
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ fi

if [ $REPO ] && [ -e $REPO/conf/drushrc.php ]; then
DRUSH_FLAGS="-c $REPO/conf/drushrc.php"
elif [ $REPO ] && [ -e $REPO/drush/drushrc.php ]; then
DRUSH_FLAGS="-c $REPO/drush/drushrc.php"
fi

$THE_DRUSH $DRUSH_FLAGS $@

0 comments on commit d4093ff

Please sign in to comment.