shader-audit: do not complain
authorRudolf Polzer <divVerent@alientrap.org>
Fri, 17 Sep 2010 08:31:53 +0000 (10:31 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Fri, 17 Sep 2010 08:31:53 +0000 (10:31 +0200)
scripts/shader-audit.sh

index ade8c4411f3374b19525f95a237f554a41ca1845..46d92795962856bdeb03f4b558bd42f1d68134bd 100755 (executable)
@@ -157,7 +157,7 @@ use_texture()
                        sky=${1#textures/skies/}
                        sky=${sky%%_*}
                        case "$2" in
-                               "$1")
+                               textures/skies/$sky|textures/skies/$sky[_]*)
                                        # typical place for preview image
                                        ;;
                                env/$sky[/_]*)