mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-25 05:06:33 +00:00
11 lines
141 B
Bash
Executable File
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 "$@"
|