]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
forgot this script
authorRudolf Polzer <divverent@xonotic.org>
Mon, 8 Jul 2013 08:00:26 +0000 (10:00 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 8 Jul 2013 08:00:26 +0000 (10:00 +0200)
qcsrc/collect-precache.sh [new file with mode: 0755]

diff --git a/qcsrc/collect-precache.sh b/qcsrc/collect-precache.sh
new file mode 100755 (executable)
index 0000000..302220c
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+{
+       grep -h '\<precache_model *( *"' client/* | grep -v "//NO_SV_PRECACHE"
+       grep -h '\<precache_sound *( *"' client/* | grep -v "//NO_SV_PRECACHE"
+} > server/precache-for-csqc.inc
+