X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=blobdiff_plain;f=scripts%2Fshader-audit.sh;h=ade8c4411f3374b19525f95a237f554a41ca1845;hp=83aba6b9b77ee173a8b32f8c11920ff24bcf15c9;hb=fc61ce48603c3311622c155c282096e404180d78;hpb=bfce9dabc6bcc0ef95453ba8b4763f6e8b8ab6f1 diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 83aba6b9..ade8c441 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -245,7 +245,7 @@ parse_shaderfile() case "$1" in ## RULE: map_FOO.shader may define tetxures/map_FOO_* and textures/map_FOO/* map_*) - allowed_prefixes="textures/map_`echo "$1" | cut -d _ -f 2`_ textures/map_`echo "$1" | cut -d - -f 2`/" + allowed_prefixes="textures/map_`echo "$1" | cut -d _ -f 2`_ textures/map_`echo "$1" | cut -d _ -f 2`/" forbidden_prefixes= ;; ## RULE: skies_FOO.shader may define tetxures/skies/FOO and textures/skies/FOO_*