Don't use set -x by default. Add a todo for better map handling.
This commit is contained in:
parent
d3b096d7e9
commit
f9361b07cf
1 changed files with 2 additions and 1 deletions
3
dcc
3
dcc
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -x
|
|
||||||
if [[ $# != 3 ]]; then
|
if [[ $# != 3 ]]; then
|
||||||
echo "Usage: $0 <command> <pwad> <map>" >&2
|
echo "Usage: $0 <command> <pwad> <map>" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -63,6 +62,8 @@ OPTIONS=()
|
||||||
if [[ -e "${PWADPATH}/options" ]]; then
|
if [[ -e "${PWADPATH}/options" ]]; then
|
||||||
OPTIONS=("-assign" "$(< "${PWADPATH}/options")")
|
OPTIONS=("-assign" "$(< "${PWADPATH}/options")")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# TODO: properly split MAP into an array in case this is a UDoom wad.
|
||||||
dsda-doom \
|
dsda-doom \
|
||||||
-skill 4 -warp ${MAP} \
|
-skill 4 -warp ${MAP} \
|
||||||
"${IWAD[@]}" "${WADS[@]}" "${DEH[@]}" "${COMPLEVEL[@]}" "${OPTIONS[@]}" "${COMMAND[@]}"
|
"${IWAD[@]}" "${WADS[@]}" "${DEH[@]}" "${COMPLEVEL[@]}" "${OPTIONS[@]}" "${COMMAND[@]}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue