fix git revision detection

This commit is contained in:
Martin Rotter 2019-06-12 08:28:28 +02:00
parent 5226f5395e
commit 8eada7eaa3

View file

@ -20,7 +20,7 @@ DISTFILES += ../../resources/scripts/uncrustify/uncrustify.cfg
CODECFORTR = UTF-8 CODECFORTR = UTF-8
CODECFORSRC = UTF-8 CODECFORSRC = UTF-8
exists(.git) { exists($PWD/../../.git) {
APP_REVISION = $$system(git rev-parse --short HEAD) APP_REVISION = $$system(git rev-parse --short HEAD)
} }