Strictly just the extension
This commit is contained in:
parent
cfd74294e8
commit
ca48bcd42b
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
|
|||
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +vid_fps 1"
|
||||
|
||||
# EXT can be wad, WAD, iwad, IWAD, pwad, PWAD or doom
|
||||
EXT=${1#*.}
|
||||
EXT=${1##*.}
|
||||
|
||||
# If its not a simple wad (extension .doom) read the file and parse the data
|
||||
if [ ${EXT} == "doom" ]; then
|
||||
|
|
|
@ -25,7 +25,7 @@ params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
|
|||
params+=" -width 1152 -height 1920 +vid_fps 1 +cl_capfps 0 +vid_renderer 0 +vid_glswfb 0"
|
||||
|
||||
# EXT can be wad, WAD, iwad, IWAD, pwad, PWAD or doom
|
||||
EXT=${1#*.}
|
||||
EXT=${1##*.}
|
||||
|
||||
# If its not a simple wad (extension .doom) read the file and parse the data
|
||||
if [ ${EXT} == "doom" ]; then
|
||||
|
|
|
@ -24,7 +24,7 @@ mkdir -p ${SAVE_DIR}
|
|||
params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
|
||||
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +cl_nomeleeblur 1 +vid_fps 1"
|
||||
|
||||
EXT=${1#*.}
|
||||
EXT=${1##*.}
|
||||
|
||||
if [ ${EXT} == "build" ]; then
|
||||
dos2unix "${1}"
|
||||
|
|
Loading…
Reference in a new issue