Fix building if not found appropriate commit hash.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2017-04-17 11:46:10 +03:00
parent 92601395e8
commit 704a263352

View File

@ -194,7 +194,7 @@ CONFIG(debug, debug|release){
isEmpty(DVCS_HESH){ isEmpty(DVCS_HESH){
DVCS_HESH=$$system("git rev-parse --short HEAD") DVCS_HESH=$$system("git rev-parse --short HEAD")
isEmpty(DVCS_HESH){ isEmpty(DVCS_HESH){
DVCS_HESH = "unknown" # if we can't find build revision left unknown. DVCS_HESH = \\\"unknown\\\" # if we can't find build revision left unknown.
} else { } else {
DVCS_HESH=\\\"Git:$${DVCS_HESH}\\\" DVCS_HESH=\\\"Git:$${DVCS_HESH}\\\"
} }