From: Rudolf Polzer Date: Tue, 24 Aug 2010 12:06:44 +0000 (+0200) Subject: shader-audit: fix a typo X-Git-Tag: xonotic-v0.1.0preview~151^2~31 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=commitdiff_plain;h=fc61ce48603c3311622c155c282096e404180d78;ds=inline shader-audit: fix a typo --- 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_*