File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 112112
113113# Note: do not add double quotes to ${executable} ${startparameters}.
114114if [ " ${engine} " == " source" ]|| [ " ${engine} " == " goldsrc" ]; then
115- ${executable} ${startparameters} -debug
116- elif [ " ${shortname} " == " arma3" ]; then
117- # Arma3 requires semicolons in the module list, which need to
118- # be escaped for regular (tmux) loading, but need to be
119- # stripped when loading straight from the console.
120- ${executable} ${parms// \\ ;/ ;}
115+ eval " ${executable} ${startparameters} -debug"
121116elif [ " ${engine} " == " quake" ]; then
122- ${executable} ${startparameters} -condebug
117+ eval " ${executable} ${startparameters} -condebug"
123118else
124119 # shellcheck disable=SC2086
125- ${preexecutable} ${executable} ${startparameters}
120+ eval " ${preexecutable} ${executable} ${startparameters} "
126121fi
127122
128123fn_lockfile_trap
You can’t perform that action at this time.
0 commit comments