commit | 914c0d67b21d338ae332a4e75325513abbaa81fe | [log] [tgz] |
---|---|---|
author | Lukas Tribus <luky-37@hotmail.com> | Mon Apr 14 15:38:26 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 14 15:53:32 2014 +0200 |
tree | 4294eccc4e7dd27bbe7e1128756d2083a1a357df | |
parent | e5eddafa89ee2e468da37938a002761e3f2126b4 [diff] |
BUG/MINOR: build: handle whitespaces in wc -l output Certain implementations (for example ksh/OpenBSD) prefix the 'wc -l' output with whitespaces. This breaks the build since 689e4d733 ("BUILD: simplify the date and version retrieval in the makefile"). Fix this by piping the wc output into tr -dc '0-9'. Workaround is to build with IGNOREGIT=1. HAProxy-1.4 is affected as well.