shader-audit: do not complain
[xonotic/xonotic-maps.pk3dir.git] / 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[/_]*)