packages: pearize.sh - egrep is deprecated
glen
glen at pld-linux.org
Thu Aug 19 20:04:51 CEST 2010
Author: glen Date: Thu Aug 19 18:04:51 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- egrep is deprecated
---- Files affected:
packages:
pearize.sh (1.45 -> 1.46)
---- Diffs:
================================================================
Index: packages/pearize.sh
diff -u packages/pearize.sh:1.45 packages/pearize.sh:1.46
--- packages/pearize.sh:1.45 Thu Aug 19 15:06:14 2010
+++ packages/pearize.sh Thu Aug 19 20:04:46 2010
@@ -148,7 +148,7 @@
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 '
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pearize.sh?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list