From 8f16cd7ebecc8c7268deff9c7a4a1d828d2f1320 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Fri, 10 Apr 2009 17:29:31 +0200 Subject: [PATCH] Fixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d80b4cd..1768697 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ MAN_PATH = /usr/share/man/man1 LDFLAGS=-lcurses -REVISION_NUMBER=$(shell git log | grep ^commit | wc -l) +REVISION_NUMBER=$(shell git log | grep ^commit | wc -l | sed -e "s/[^0-9]//g") ifeq ($(DEBUG),yes) OPTIMIZE_FLAG = -ggdb3 -DDEBUG -- 2.20.1