]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix qcc version check to work with the same relative paths as the other
authorRudolf Polzer <divverent@xonotic.org>
Sat, 15 Nov 2014 09:05:04 +0000 (10:05 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 15 Nov 2014 09:05:56 +0000 (10:05 +0100)
qcc calls.

qcsrc/Makefile

index e271ad99050377127a47fc83baa710df3da6a627..edac7388c10b06cedfa04d9a13038fcb32a08d79 100644 (file)
@@ -3,7 +3,7 @@ PERL ?= perl
 QCCFLAGS_WATERMARK ?= -DWATERMARK='"$(shell git describe)"'
 QCC ?= gmqcc
 
-QCCVERSIONFILE := qccversion.$(shell $(QCC) --version > qccversion.txt && git hash-object qccversion.txt)
+QCCVERSIONFILE := qccversion.$(shell (cd server && $(QCC) --version) > qccversion.txt && git hash-object qccversion.txt)
 
 # We eventually need to get rid of these.
 QCCFLAGS_WTFS ?= \