]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/tools/compilationunits.sh
Mark dirty csprogs pk3 with ~, * is a reserved character on some filesystems
[xonotic/xonotic-data.pk3dir.git] / qcsrc / tools / compilationunits.sh
index 676c3f315a79d440c9f0e9e0aca14d73ead96df7..3c794e93fbba747b9eb43b6954a86a3c4a0856cf 100755 (executable)
@@ -9,7 +9,7 @@ CPP="cc -xc -E"
 
 declare -a QCCDEFS=(
     -DNDEBUG=1
-    -DWATERMARK="\"$(git describe --tags --dirty='*')\""
+    -DWATERMARK="\"$(git describe --tags --dirty='~')\""
     -DDEBUGPATHING=0
 )
 QCCDEFS="${QCCDEFS[@]}"