From 5053919bf3d98364ab5f1357f3f6da354cb02a99 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 22 Jul 2010 15:30:24 +0200 Subject: [PATCH] allow models/* --- scripts/shader-audit.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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" -- 2.39.2