aboutsummaryrefslogtreecommitdiff
path: root/utils/wipe/patches/001-ignore_git_version_hash_and_fix_release_version.patch
blob: a710fb34a4a8dd69693c01bd5e4dc37934a0a8c9 (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
--- a/Makefile
+++ b/Makefile
@@ -157,11 +157,7 @@ wipe.o	:	wipe.c random.h misc.h version.
 		$(CC) $(CCO) $(CCOC) wipe.c -o wipe.o
 
 version.h: always
-		if which git >/dev/null 2>&1 ; then \
-			git rev-list --max-count=1 HEAD | sed -e 's/^/#define WIPE_GIT "/' -e 's/$$/"/' >version.h ; \
-	  else \
-			echo '#define WIPE_GIT "(unknown, compiled without git)"' >version.h ; \
-	  fi
+		echo '#define WIPE_GIT "(unknown, compiled without git)"' >version.h ; \
 
 random.o	:	random.c misc.h md5.h
 		$(CC) $(CCO) $(CCOC) random.c -o random.o
--- a/wipe.c
+++ b/wipe.c
@@ -24,7 +24,7 @@
 
 /*** defines */
 
-#define WIPE_VERSION "0.23"
+#define WIPE_VERSION "0.24"
 #define WIPE_DATE "2016-11-03"
 
 /* exit codes */