|
|
@@ -96,15 +96,16 @@ fn_script_log_info "${rootdir}/${lockselfname}"
|
|
|
trap fn_lockfile_trap INT
|
|
|
|
|
|
cd "${executabledir}" || exit
|
|
|
+# Note: do not add double quotes to ${executable} ${parms}
|
|
|
if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
|
|
|
${executable} ${parms} -debug
|
|
|
elif [ "${engine}" == "realvirtuality" ]; then
|
|
|
# Arma3 requires semicolons in the module list, which need to
|
|
|
# be escaped for regular (tmux) loading, but need to be
|
|
|
# stripped when loading straight from the console.
|
|
|
- "${executable}" "${parms//\\;/;}"
|
|
|
+ ${executable} ${parms//\\;/;}
|
|
|
else
|
|
|
- "${executable}" "${parms}"
|
|
|
+ ${executable} ${parms}
|
|
|
fi
|
|
|
|
|
|
fn_print_dots "Stopping debug"
|