Commit 658bdd83 authored by Vitaly Lipatov's avatar Vitaly Lipatov

clean_pkgreq: fix for gcc/cpp outfiltering

parent 04d4350c
......@@ -103,7 +103,7 @@ clean_pkgreq()
local i VAR
VAR=`cat | sort -u`
for i in $VAR ; do
echo "$i" | egrep "gcc[0-9]|cpp[0-9]|gcc-c++[0-9]" >/dev/null && continue
echo "$i" | egrep "^gcc[0-9]|^cpp[0-9]|^gcc-c++[0-9]" >/dev/null && continue
echo "$i" | egrep "gcc\$|cpp\$|gcc-c++\$" >/dev/null && continue
echo "$i" | grep "[()<=>]" >/dev/null && continue
echo "$i" | grep "^ *[0-9]\.[0-9]" >/dev/null && continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment