Don't use set -x by default. Add a todo for better map handling.

This commit is contained in:
yrriban 2024-07-10 01:58:15 -04:00
parent d3b096d7e9
commit f9361b07cf

3
dcc
View file

@ -1,6 +1,5 @@
#!/bin/bash
set -x
if [[ $# != 3 ]]; then
echo "Usage: $0 <command> <pwad> <map>" >&2
exit 1
@ -63,6 +62,8 @@ OPTIONS=()
if [[ -e "${PWADPATH}/options" ]]; then
OPTIONS=("-assign" "$(< "${PWADPATH}/options")")
fi
# TODO: properly split MAP into an array in case this is a UDoom wad.
dsda-doom \
-skill 4 -warp ${MAP} \
"${IWAD[@]}" "${WADS[@]}" "${DEH[@]}" "${COMPLEVEL[@]}" "${OPTIONS[@]}" "${COMMAND[@]}"