Files
static-web-server/docker/alpine/entrypoint.sh
Kian-Meng Ang 59a75e6aa9 docs: fix typos (#140) [skip ci]
fix typos found via `codespell -L crate`
2022-09-17 04:13:32 +02:00

11 lines
141 B
Bash
Executable File

#!/bin/sh
set -e
# Check if incoming command contains flags.
if [ "${1#-}" != "$1" ]; then
set -- static-web-server "$@"
fi
exec "$@"