Skip to content

Commit ca8a908

Browse files
committed
reiteration with additional check
1 parent d3b1672 commit ca8a908

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/itkdev-docker-compose

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,10 @@ EOF
828828
if [ -d $docker_compose_dir/web ]; then
829829
root=/app/web
830830
fi
831-
if [ -e $docker_compose_dir/vendor/bin/drush ]; then
831+
if [ -e $docker_compose_dir/vendor/bin/drush.php ]; then
832832
docker_compose exec phpfpm php /app/vendor/bin/drush.php --root=$root "$@"
833+
elif [ -e $docker_compose_dir/vendor/bin/drush ]; then
834+
docker_compose exec phpfpm /app/vendor/bin/drush --root=$root "$@"
833835
else
834836
docker_compose run --rm drush --root=$root "$@"
835837
fi

0 commit comments

Comments
 (0)