Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/itkdev-docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,10 @@ EOF
if [ -d $docker_compose_dir/web ]; then
root=/app/web
fi
if [ -e $docker_compose_dir/vendor/bin/drush ]; then
docker_compose exec phpfpm php /app/vendor/bin/drush --root=$root "$@"
if [ -e $docker_compose_dir/vendor/bin/drush.php ]; then
docker_compose exec phpfpm php /app/vendor/bin/drush.php --root=$root "$@"
elif [ -e $docker_compose_dir/vendor/bin/drush ]; then
docker_compose exec phpfpm /app/vendor/bin/drush --root=$root "$@"
else
docker_compose run --rm drush --root=$root "$@"
fi
Expand Down