From: Rudolf Polzer Date: Sat, 15 Nov 2014 09:05:04 +0000 (+0100) Subject: Fix qcc version check to work with the same relative paths as the other X-Git-Tag: xonotic-v0.8.0~146 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5fede12a104315e92bd2bf00f7db551ed7581f70;p=xonotic%2Fxonotic-data.pk3dir.git Fix qcc version check to work with the same relative paths as the other qcc calls. --- diff --git a/qcsrc/Makefile b/qcsrc/Makefile index e271ad990..edac7388c 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -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 ?= \