From: Rudolf Polzer Date: Sat, 25 Sep 2010 13:03:34 +0000 (+0200) Subject: shader-audit: convert to lower case X-Git-Tag: xonotic-v0.1.0preview~150^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=edecd2d4a836364301c9e35fd330c6ee54eb683a;p=xonotic%2Fxonotic-maps.pk3dir.git shader-audit: convert to lower case --- 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 ;;