From c21aa083df0fd6ba442c3f17c7fbf2ee96de3f2c Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 18 Dec 2006 00:15:06 +0100 Subject: [PATCH] [BUILD] fixed the "git-tar" target in the Makefile The git-tar target did not work correctly anymore, probably because of a recent change in the output of "git-describe --tags". This is now fixed. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f690a14af..77470a5d4 100644 --- a/Makefile +++ b/Makefile @@ -183,6 +183,6 @@ tar: clean rm -f haproxy-$(VERSION) git-tar: clean - ref=$(shell git-describe --tags); ver=$${ref#v};\ - comms=$(shell git-log $$ref..|grep -c ^commit); \ + ref=$$(git-describe --tags); ref=$${ref%-g*}; ver=$${ref#v};\ + comms=$$(git-log $$ref..|grep -c ^commit); \ git-tar-tree HEAD haproxy-$(VERSION) | gzip -9 > haproxy-$$ver-$$comms.tar.gz