Commit 4a88fb55 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repl: make pkg repl unique

parent 3ca85722
......@@ -41,7 +41,7 @@ tolocal_anyrepl()
clean_pkgreq()
{
local i VAR
VAR=`cat`
VAR=`cat | sort -u`
for i in $VAR ; do
echo "$i" | egrep "gcc|cpp|gcc-c++" >/dev/null && continue
echo "$i" | grep "[()<=>]" >/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