blob: 05d40c5cd5e08bc2022f656b85a65bbff154725c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
From 51b78d7e6021ed7787991d6122da52293fbafa89 Mon Sep 17 00:00:00 2001
From: tastytea <tastytea@tastytea.de>
Date: Sun, 7 Aug 2022 18:33:46 +0200
Subject: [PATCH] silence svn and git errors
---
Makefile | 2 +-
configure.ac | 9 ++-------
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index 69f2b8a..c683b8a 100644
--- a/Makefile
+++ b/Makefile
@@ -254,7 +254,7 @@ else
endif
endif
-GIT_HASH := $(shell git rev-parse --short=7 HEAD 2>/dev/null 1>/dev/null; echo $$?)
+GIT_HASH :=
ifneq ($(GIT_HASH),)
GIT_HASH := $(shell git rev-parse --short=7 HEAD)
$(info Git hash is 0x$(GIT_HASH))
diff --git a/configure.ac b/configure.ac
index e776f6b..41cd584 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,13 +141,8 @@ else
fi
-# are we in a svn?
-if svn info
-then
- AC_SUBST(svn, 1)
-else
- AC_SUBST(svn, 0)
-fi
+# we are not in an svn
+AC_SUBST(svn, 0)
#switch off assembler on 64 bit (MISSING: Check for GNU Assembler and i86)
--
2.35.1
|