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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=5fede12a104315e92bd2bf00f7db551ed7581f70;hp=604fe50563434567aeaad721be86ee269c439826 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 e271ad9905..edac7388c1 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 ?= \