]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: fix VERDATE exclusion regex
authorWilly Tarreau <w@1wt.eu>
Sat, 25 Jan 2014 23:39:22 +0000 (00:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Jan 2014 23:39:22 +0000 (00:39 +0100)
A backslash was missing. It used to work well with GNU grep anyway but
better fix it.

Makefile

index 0c366500fb1bcc37fd7210a5d826455acccc338c..881297bf4cc47b4b2e93272bb71cfe4702d7c261 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -359,7 +359,7 @@ ifeq ($(SUBVERS),)
 SUBVERS := $(shell (grep -v '\$$Format' SUBVERS 2>/dev/null || touch SUBVERS) | head -n 1)
 endif
 ifeq ($(VERDATE),)
-VERDATE := $(shell (grep -v '^$$Format' VERDATE 2>/dev/null || touch VERDATE) | head -n 1 | cut -f1 -d' ' | tr '-' '/')
+VERDATE := $(shell (grep -v '^\$$Format' VERDATE 2>/dev/null || touch VERDATE) | head -n 1 | cut -f1 -d' ' | tr '-' '/')
 endif
 
 #### Build options