From f9fab3f48990c93fd9a43dc98bb3613a847b6358 Mon Sep 17 00:00:00 2001 From: gggeek Date: Sat, 1 Jul 2017 20:21:56 +0100 Subject: [PATCH] small makefile tweak --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a421f20..d1c837b 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ PHPINCLUDEDIR=/usr/local/lib/php # mkdir is a thorny beast under windows: make sure we can not use the cmd version, running eg. "make MKDIR=mkdir.exe" MKDIR=mkdir -#find too +# find too FIND=find @@ -20,7 +20,7 @@ FIND=find # recover version number from code # thanks to Firman Pribadi for unix command line help # on unix shells lasts char should be \\2/g ) -export VERSION=$(shell egrep "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" lib/xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\2/g ) +export VERSION=$(shell grep -E "\$GLOBALS *\[ *'xmlrpcVersion' *\] *= *'" lib/xmlrpc.inc | sed -r s/"(.*= *' *)([0-9a-zA-Z.-]+)(.*)"/\2/g ) LIBFILES=lib/xmlrpc.inc lib/xmlrpcs.inc lib/xmlrpc_wrappers.inc -- 2.43.0