mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-24 20:56:50 +00:00
11 lines
130 B
Bash
Executable File
11 lines
130 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Check if incoming command contains flags.
|
|
if [ "${1#-}" != "$1" ]; then
|
|
set -- mkdocs "$@"
|
|
fi
|
|
|
|
exec "$@"
|