Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit c518766

Browse files
TravisCardengrasmash
authored andcommitted
Changing drush.wrapper to not run 'composer install' automatically. (#535)
1 parent 24f2bdc commit c518766

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template/drush.wrapper

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
3232
cd "`dirname $0`"
3333

3434
if [ ! -f ${DIR}/vendor/drush/drush/drush.launcher ]; then
35-
echo "Drush was not found in this project's vendor directory."
36-
echo "Attempting to run composer install. This takes a few minutes."
37-
composer install
35+
echo >&2 "Drush was not found in this project's vendor directory. You can install it by typing:"
36+
echo >&2 "composer install"
37+
exit 1
3838
fi
3939

4040
vendor/drush/drush/drush.launcher --config=${DIR}/drush/drushrc.php --alias-path=${DIR}/drush/site-aliases "$@"

0 commit comments

Comments
 (0)