mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-31 18:37:30 +01:00
fix git revision detection
This commit is contained in:
parent
5226f5395e
commit
8eada7eaa3
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,4 +33,4 @@ equals(USE_WEBENGINE, false) {
|
|||||||
APP_REVISION = $$sprintf('%1-%2', $$APP_REVISION, nowebengine)
|
APP_REVISION = $$sprintf('%1-%2', $$APP_REVISION, nowebengine)
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES *= APP_REVISION='"\\\"$$APP_REVISION\\\""'
|
DEFINES *= APP_REVISION='"\\\"$$APP_REVISION\\\""'
|
||||||
|
Loading…
Reference in New Issue
Block a user