From e485e96de09b3913465af5e942488e202327c7ad Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 30 Nov 2017 19:17:45 +0100
Subject: [PATCH] Suppress potential svnversion error output.
---
src/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile
index 5d45180a0..524651428 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -55,7 +55,7 @@ endif
ifdef GIT_SHA
$(info GIT_SHA: $(GIT_SHA))
else
- GIT_SHA := $(shell git rev-parse --short HEAD 2>$(NULLDEV) || svnversion)
+ GIT_SHA := $(shell git rev-parse --short HEAD 2>$(NULLDEV) || svnversion 2>$(NULLDEV))
ifneq ($(words $(GIT_SHA)),1)
GIT_SHA := N/A
$(info GIT_SHA: N/A)
--
2.39.5