From a5feb151e38b3a893f61c8e96872b7180507dba6 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 28 Mar 2019 19:47:59 +1100 Subject: [PATCH] fixed #710 --- olive.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olive.pro b/olive.pro index 9adf6c8b9..ae945bd11 100644 --- a/olive.pro +++ b/olive.pro @@ -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)