From: Oliver Schmidt
Date: Thu, 30 Nov 2017 18:17:45 +0000 (+0100)
Subject: Suppress potential svnversion error output.
X-Git-Tag: V2.17~62
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e485e96de09b3913465af5e942488e202327c7ad;p=cc65
Suppress potential svnversion error output.
---
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)