From: Michael Prokop Date: Wed, 7 Sep 2022 11:57:23 +0000 (+0200) Subject: Replace egrep usage with grep -E X-Git-Tag: v0.19.1~2 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=27eba4ace1f4cde430f773c01a629c240b6bf207;hp=6a409984ab0316d0a59c5e4ab38dac86a48282ae Replace egrep usage with grep -E grep 3.8 deprecated support for egrep + fgrep, and now prints a warning on stderr: | egrep: warning: egrep is obsolescent; using grep -E | fgrep: warning: fgrep is obsolescent; using grep -F --- diff --git a/debian/rules b/debian/rules index f83d809..7d696b5 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ VERSION:=$(shell dpkg-parsechangelog | awk '/Version: / { print $$2 }') override_dh_auto_build: dh_testdir - egrep -q '^PROG_VERSION = "\*\*\*UNKNOWN\*\*\*"' grml2usb || (echo "PROG_VERSION in grml2usb wrong." && exit 2) + grep -qE '^PROG_VERSION = "\*\*\*UNKNOWN\*\*\*"' grml2usb || (echo "PROG_VERSION in grml2usb wrong." && exit 2) $(MAKE) -C mbr $(MAKE)