mirror of
https://github.com/danog/php.git
synced 2024-11-30 04:29:16 +01:00
10 lines
118 B
Plaintext
10 lines
118 B
Plaintext
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
# first arg is `-f` or `--some-option`
|
||
|
if [ "${1#-}" != "$1" ]; then
|
||
|
set -- php "$@"
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|