1
0
mirror of https://github.com/danog/php.git synced 2024-12-15 10:26:57 +01:00
php/7.4/alpine3.14/cli/docker-php-entrypoint
2021-06-16 16:11:19 +02:00

10 lines
118 B
Bash
Executable File
Generated

#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php "$@"
fi
exec "$@"