Makefile: handle broken curl version number in version check
commit3af67924e03ddb29a2b698266a9f27ef30cd663b
authorTom G. Christensen <tgc@statsbiblioteket.dk>
Fri, 30 Jan 2015 09:52:34 +0000 (30 10:52 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Feb 2015 02:30:24 +0000 (3 18:30 -0800)
tree33fe6180b0078d070b24bc353718d92537bebca9
parent15598cf41beed0d86cd2ac443e0f69c5a3b40321
Makefile: handle broken curl version number in version check

curl 7.11.0 through 7.12.2 when built from their official release
archives will present a 5 digit version number instead of the documented
6 digits which breaks the version check in the Makefile.
Correct these broken version numbers on the fly when extracting them to
ensure the comparison works correctly.

[jc: shortened the new sed scripts a bit]

Signed-off-by: Tom G. Christensen <tgc@statsbiblioteket.dk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile