mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 11:24:56 +00:00
move shaderlist.txt into the individual dirs again now that we can
This commit is contained in:
parent
316e76ac82
commit
cbe525917b
@ -1,6 +0,0 @@
|
||||
common
|
||||
exosystem
|
||||
exx
|
||||
trak5x
|
||||
trak4x
|
||||
facility114x
|
12
misc/tools/update-shaderlists
Executable file
12
misc/tools/update-shaderlists
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
for X in "$PWD"/data/*/scripts; do
|
||||
cd "$X"
|
||||
for X in *.shader; do
|
||||
if [ -f "$X" ]; then
|
||||
ls *.shader | sed 's/\.shader$//' > shaderlist.txt
|
||||
git add shaderlist.txt
|
||||
break
|
||||
fi
|
||||
done
|
||||
done
|
Loading…
Reference in New Issue
Block a user