projects
/
xonotic
/
xonotic-maps.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b5359b
)
also allow _bump
author
Rudolf Polzer <divverent@alientrap.org>
Fri, 20 Aug 2010 04:14:59 +0000
(06:14 +0200)
committer
Rudolf Polzer <divverent@alientrap.org>
Fri, 20 Aug 2010 04:14:59 +0000
(06:14 +0200)
scripts/shader-audit.sh
patch
|
blob
|
history
diff --git
a/scripts/shader-audit.sh
b/scripts/shader-audit.sh
index 83aba6b9b77ee173a8b32f8c11920ff24bcf15c9..250e7d3ae84785e2e9bb800711fd393648ccdf01 100755
(executable)
--- a/
scripts/shader-audit.sh
+++ b/
scripts/shader-audit.sh
@@
-293,7
+293,7
@@
for X in *.shader; do
done
rm -f "$t"
done
rm -f "$t"
-textures_avail=`( cd ..; find textures/ -type f -not -name '*_norm.*' -not -name '*_glow.*' -not -name '*_gloss.*' -not -name '*_reflect.*' -not -name '*.xcf' ) | while IFS= read -r T; do normalize "$T"; done | sort -u`
+textures_avail=`( cd ..; find textures/ -type f -not -name '*_norm.*' -not -name '*_glow.*' -not -name '*_gloss.*' -not -name '*_reflect.*' -not -name '*
_bump.*' -not -name '*
.xcf' ) | while IFS= read -r T; do normalize "$T"; done | sort -u`
textures_used=`echo "${textures_used#$LF}" | sort -u`
echo "$textures_used$LF$textures_used$LF$textures_avail" | sort | uniq -u | while IFS= read -r L; do
textures_used=`echo "${textures_used#$LF}" | sort -u`
echo "$textures_used$LF$textures_used$LF$textures_avail" | sort | uniq -u | while IFS= read -r L; do