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