From a878f41ffc520b64e667decdba5f9e03f0d0457a Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 13 Dec 2023 19:58:07 +0000 Subject: Remove a call to deprecated egrep --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7b555cc..30858fd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ NAME=iurt PACKAGE=$(NAME) -VERSION=$(shell egrep -a 'my \$$version = .*' iurt|sed -e "s/';//" -e "s/.*'//") +VERSION=$(shell sed -n -e "s/my \$$version = '\(.*\)'.*/\1/p" iurt) VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib) INSTALLVENDORLIB = $(DESTDIR)$(VENDORLIB) -- cgit v1.2.1