1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/env sh DEV_ENTRYPOINT=$(pwd)/dev.entrypoint.sh if [ -f "$DEV_ENTRYPOINT" ] \ && [ -x "$DEV_ENTRYPOINT" ]; then ## Run dev entrypoint script if found and executable $DEV_ENTRYPOINT fi ## Assume shell was passed, and attempt to launch exec "$@"