From: Rudolf Polzer Date: Thu, 22 Jul 2010 13:30:24 +0000 (+0200) Subject: allow models/* X-Git-Tag: xonotic-v0.1.0preview~141^2~9^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5053919bf3d98364ab5f1357f3f6da354cb02a99;p=xonotic%2Fxonotic-maps.pk3dir.git allow models/* --- diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 13256f7d..dd371ac0 100644 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -128,6 +128,15 @@ use_texture() ;; esac ;; + models/*) + case "$2" in + models/*) + ;; + *) + echo "(EE) texture $2 of shader $1 is out of place, recommended file name is $1 or models/*" + ;; + esac + ;; *) echo "(EE) no shader name pattern for $1" ;; @@ -200,7 +209,7 @@ parse_shaderfile() esac while read L; do case "$L" in - textures/*) + */*) parsing_shader="`normalize "$L"`" if [ x"$L" != x"$parsing_shader" ]; then echo "(WW) normalized shader name $L to $parsing_shader"