This commit is contained in:
itsmattkc
2019-03-28 19:47:59 +11:00
parent 4e0188fd3a
commit a5feb151e3
+1 -1
View File
@@ -35,7 +35,7 @@ system("which git") {
GITPATH = $$system(cygpath $$PWD)
}
GITHASHVAR = $$system(git --git-dir="$$GITPATH/.git" --work-tree="$$GITPATH" log -1 --format=%h)
GITHASHVAR = $$system(git --git-dir=\"$$GITPATH/.git\" --work-tree=\"$$GITPATH\" log -1 --format=%h)
# Fallback for Ubuntu/Launchpad (extracts Git hash from debian/changelog rather than Git repo)
# (see https://answers.launchpad.net/launchpad/+question/678556)