From d4093ff1bc9668eb1a9af002f102405c68e1bef4 Mon Sep 17 00:00:00 2001 From: Bec White Date: Tue, 1 May 2018 17:05:24 -0500 Subject: [PATCH] Find drushrc.php in a project's drush/ directory as well as in the conf/ directory. --- conf/vagrant/provisioning/roles/drush/bin/drush | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/vagrant/provisioning/roles/drush/bin/drush b/conf/vagrant/provisioning/roles/drush/bin/drush index 441798a..313e426 100755 --- a/conf/vagrant/provisioning/roles/drush/bin/drush +++ b/conf/vagrant/provisioning/roles/drush/bin/drush @@ -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 $@