aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2023-12-13 19:58:07 +0000
committerPascal Terjan <pterjan@mageia.org>2023-12-13 18:01:13 +0000
commita878f41ffc520b64e667decdba5f9e03f0d0457a (patch)
tree16de32e56bc87d3d5675f1aedc338f5f90effad4 /Makefile
parent6059f47c125235a1932daef18c673e0aa33ba848 (diff)
downloadiurt-a878f41ffc520b64e667decdba5f9e03f0d0457a.tar
iurt-a878f41ffc520b64e667decdba5f9e03f0d0457a.tar.gz
iurt-a878f41ffc520b64e667decdba5f9e03f0d0457a.tar.bz2
iurt-a878f41ffc520b64e667decdba5f9e03f0d0457a.tar.xz
iurt-a878f41ffc520b64e667decdba5f9e03f0d0457a.zip
Remove a call to deprecated egrep
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)