From 013c2bc878f2437e824aecefb729c507c995738f Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 18 Oct 2013 16:05:42 +1000 Subject: [PATCH] Build fix for git qmake stuff --- sleepyhead/sleepyhead.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro index 9e48c449..63de797e 100644 --- a/sleepyhead/sleepyhead.pro +++ b/sleepyhead/sleepyhead.pro @@ -39,8 +39,8 @@ TEMPLATE = app exists(../.git):{ GIT_BRANCH=$$system(git rev-parse --abbrev-ref HEAD) - DEFINES += GIT_BRANCH=\\\"$$GIT_BRANCH\" - DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\" + DEFINES += GIT_BRANCH=\\\"$$GIT_BRANCH\\\" + DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\" contains(GIT_BRANCH,"unstable"):DEFINES += UNSTABLE_BUILD