Fix launcher script for some systems that want you to be in the directory where wads reside.
This commit is contained in:
parent
8dd803bdd4
commit
93f5ab240f
@ -115,9 +115,11 @@ case ${buttonCode} in
|
|||||||
'-extratic' '-dup' '3'
|
'-extratic' '-dup' '3'
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
pushd "${doomPath}"
|
||||||
exec stdbuf -oL ${gzdoom} ${gameOption} "${flags[@]}" | while IFS= read -r l ; do echo "$l" | { grep "${grepStrings[@]}" | sed "${sedStrings[@]}" | spd-say -e; } || echo "$l";done
|
exec stdbuf -oL ${gzdoom} ${gameOption} "${flags[@]}" | while IFS= read -r l ; do echo "$l" | { grep "${grepStrings[@]}" | sed "${sedStrings[@]}" | spd-say -e; } || echo "$l";done
|
||||||
;;
|
;;
|
||||||
0)
|
0)
|
||||||
|
pushd "${doomPath}"
|
||||||
exec stdbuf -oL ${gzdoom} ${gameOption} | while IFS= read -r l ; do echo "$l" | { grep "${grepStrings[@]}" | sed "${sedStrings[@]}" | spd-say -e > /dev/null 2>&1; }; echo "$l";done
|
exec stdbuf -oL ${gzdoom} ${gameOption} | while IFS= read -r l ; do echo "$l" | { grep "${grepStrings[@]}" | sed "${sedStrings[@]}" | spd-say -e > /dev/null 2>&1; }; echo "$l";done
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user