From d658e212200f790e56462514b0d2656f56aefe2c Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Fri, 9 Sep 2022 09:28:52 -0700 Subject: [PATCH] Fixed issue where build paths with a space in the name would cause the git hash to fail capture. --- wfview.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wfview.pro b/wfview.pro index 9decce0..a94aa2f 100644 --- a/wfview.pro +++ b/wfview.pro @@ -91,7 +91,7 @@ QMAKE_INFO_PLIST = ../wfview/resources/Info.plist !win32:DEFINES += HOST=\\\"`hostname`\\\" UNAME=\\\"`whoami`\\\" -!win32:DEFINES += GITSHORT="\\\"$(shell git -C $$PWD rev-parse --short HEAD)\\\"" +!win32:DEFINES += GITSHORT="\\\"$(shell git -C \"$$PWD\" rev-parse --short HEAD)\\\"" win32:DEFINES += GITSHORT=\\\"$$system(git -C $$PWD rev-parse --short HEAD)\\\" win32:DEFINES += HOST=\\\"wfview.org\\\"