From: Francois Fleuret Date: Fri, 10 Apr 2009 15:29:31 +0000 (+0200) Subject: Fixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun). X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=8f16cd7ebecc8c7268deff9c7a4a1d828d2f1320;p=selector.git Fixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun). --- 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