newt/entrypoint.sh
2025-01-07 20:51:33 -05:00

10 lines
No EOL
122 B
Bash

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