From: packer Date: Tue, 13 Nov 2018 16:12:03 +0000 (+0100) Subject: $F contains file extension... X-Git-Tag: xonotic-v0.8.5~116^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a2b86036c37e914dc2f7e0bfcb6fc26417e3747a;p=xonotic%2Fxonotic.git $F contains file extension... --- 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/*) ;;