fix :P
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 11:36:22 +0000 (13:36 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 11:36:22 +0000 (13:36 +0200)
scripts/shader-audit.sh

index f0f95b5..0d19a20 100644 (file)
@@ -59,7 +59,7 @@ use_texture()
                        pre=${1%%/map_*}
                        suf=${1#*/map_}
                        case "$2" in
-                               "$pre"/map/*)
+                               "$pre"/map_*)
                                        ;;
                                *)
                                        echo "(EE) texture $2 of shader $1 is out of place, recommended file name is $pre/map_$suf"