From 887577bd1b07c3bd3a7fc0e7445f3cd141fe61fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 19 Aug 2010 18:04:46 +0000 Subject: [PATCH] - egrep is deprecated Changed files: pearize.sh -> 1.46 --- pearize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pearize.sh b/pearize.sh index 12d80f9..12f8030 100644 --- a/pearize.sh +++ b/pearize.sh @@ -148,7 +148,7 @@ if [ -n "$optional" ]; then done done fi -has_opt=$(egrep -c '^Optional-(pkg|ext):' $template || :) +has_opt=$(grep -Ec '^Optional-(pkg|ext):' $template || :) if [ "$has_opt" -gt 0 ]; then if ! grep -q '%{_docdir}/.*/optional-packages.txt' $spec; then sed -i -e ' -- 2.44.0