From a2b86036c37e914dc2f7e0bfcb6fc26417e3747a Mon Sep 17 00:00:00 2001 From: packer Date: Tue, 13 Nov 2018 17:12:03 +0100 Subject: [PATCH] $F contains file extension... --- misc/tools/cached-converter.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh index 84f3480d..c1063edd 100755 --- a/misc/tools/cached-converter.sh +++ b/misc/tools/cached-converter.sh @@ -375,13 +375,13 @@ for F in "$@"; do will_dds=$do_dds will_ogg=$do_ogg if ! $ogg_ogg; then - case "$f" in + case "$F" in *.ogg) will_ogg=false ;; esac fi - case "$f" in + case "$F" in ./sound/misc/talk*.wav) will_ogg=false ;; # engine "feature" - *_bump) will_dds=false ;; + *_bump.*) will_dds=false ;; ./models/player/*) will_dds=false ;; ./models/sprites/*) will_dds=false ;; ./models/*) ;; -- 2.39.2