From: Willy Tarreau Date: Sat, 25 Jan 2014 23:39:22 +0000 (+0100) Subject: BUILD: fix VERDATE exclusion regex X-Git-Tag: v1.5-dev22~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ed327a7af2dd4b34b80e5a575f88f5522e61b1;p=thirdparty%2Fhaproxy.git BUILD: fix VERDATE exclusion regex A backslash was missing. It used to work well with GNU grep anyway but better fix it. --- diff --git a/Makefile b/Makefile index 0c366500fb..881297bf4c 100644 --- 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