From 66a6aae1a873a68d4b0991bf881c7b4463745cc8 Mon Sep 17 00:00:00 2001
From: Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
Date: Mon, 5 Jan 2015 11:33:19 +0100
Subject: [PATCH] make: escape unknown version string

---
 Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.include b/Makefile.include
index 5b08f84632..7819fbf8da 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -130,7 +130,7 @@ ifeq ($(origin RIOT_VERSION), undefined)
       RIOT_VERSION := $(GIT_STRING)-$(GIT_BRANCH)
     endif
   else
-    RIOT_VERSION := UNKNOWN (builddir: $(RIOTBASE))
+    RIOT_VERSION := "UNKNOWN (builddir: $(RIOTBASE))"
   endif
 endif
 export CFLAGS += -DRIOT_VERSION=\"$(RIOT_VERSION)\"
-- 
GitLab