File: Prevent-reading-version-from-git.patch

package info (click to toggle)
efibootguard 0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 792 kB
  • sloc: ansic: 7,773; makefile: 353; python: 326; sh: 83
file content (22 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Bastian Germann <bage@debian.org>
Date: Tue, 7 Dec 2021 11:31:11 +0100
Forwarded: not-needed
Subject: Prevent reading version from git

---
 gen_version_h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_version_h b/gen_version_h
index a44c780..1fc3018 100755
--- a/gen_version_h
+++ b/gen_version_h
@@ -18,7 +18,7 @@ echo ""
 
 cd "$1" > /dev/null
 
-if ! git rev-parse 2>/dev/null; then
+if true; then
 	version="`cat VERSION`"
 else
 	describe="`git describe --long --dirty --match "v[0-9].[0-9]*"`"