[packages/chromium-browser] no deprecated egrep

glen glen at pld-linux.org
Sun Dec 30 23:43:23 CET 2012


commit 1578e1c37020f54a63779390ff869630f420ec1c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 31 00:43:08 2012 +0200

    no deprecated egrep

 find-lang.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/find-lang.sh b/find-lang.sh
index 4aa9f4c..1bc9b65 100755
--- a/find-lang.sh
+++ b/find-lang.sh
@@ -43,7 +43,7 @@ while read file; do
 	echo "%lang($lang) ${file#$RPM_BUILD_ROOT}" >> $langfile
 done < $tmp
 
-if [ "$(egrep -v '(^%defattr|^$)' $langfile | wc -l)" -le 0 ]; then
+if [ "$(grep -Ev '(^%defattr|^$)' $langfile | wc -l)" -le 0 ]; then
 	echo >&2 "$PROG: Error: international files not found!"
 	rc=1
 fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/1578e1c37020f54a63779390ff869630f420ec1c



More information about the pld-cvs-commit mailing list