From edecd2d4a836364301c9e35fd330c6ee54eb683a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 25 Sep 2010 15:03:34 +0200 Subject: [PATCH] shader-audit: convert to lower case --- scripts/shader-audit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 1b256729..0abbd1b0 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -196,7 +196,7 @@ parsing_shader= parse_shaderstage() { while read L A1 Aother; do - case "$L" in + case "`echo "$L" | tr A-Z a-z`" in map) case "$A1" in '$lightmap') @@ -224,7 +224,7 @@ parse_shader() { use_texture "$parsing_shader" "$parsing_shader" shader while read L A1 Aother; do - case "$L" in + case "`echo "$L" | tr A-Z a-z`" in qer_editorimage) use_texture "$parsing_shader" "`normalize "$A1"`" editorimage ;; -- 2.39.2