]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- egrep is deprecated
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 19 Aug 2010 18:04:46 +0000 (18:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.46

pearize.sh

index 12d80f97475e88c0dd35b498b37e1cf43bb084da..12f8030609c3c82436f422db476ab916751876c9 100644 (file)
@@ -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 '
This page took 0.0262 seconds and 4 git commands to generate.