commit 1578e1c37020f54a63779390ff869630f420ec1c
Author: Elan Ruusamäe <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to