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

Commit

Permalink
Merge pull request #48 from palantirnet/drushrc-location
Browse files Browse the repository at this point in the history
Find drushrc.php in a project's drush/ directory as well as in the co…
  • Loading branch information
becw authored Jun 27, 2018
2 parents d524210 + d4093ff commit 896764a
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 896764a

Please sign in to comment.