diff --git a/qtox.pro b/qtox.pro index 635b2232d..67a6d70f2 100644 --- a/qtox.pro +++ b/qtox.pro @@ -49,7 +49,7 @@ TRANSLATIONS = translations/de.ts \ RESOURCES += res.qrc -GIT_VERSION = $$system(git rev-parse HEAD) +GIT_VERSION = $$system(git rev-parse HEAD 2> /dev/null || echo "(built without git)") DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\" contains(JENKINS,YES) {