Commit 905be8aa authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix cyclic group replacement again (ALT #24724)

parent 1cda88bd
......@@ -64,6 +64,8 @@ toalt_grprepl()
GRPREPLBASE=$PKGREPLBASE/../grprepl
for i in $GRPREPLBASE/grprepl.fedora $GRPREPLBASE/grprepl.rpm $GRPREPLBASE/grprepl.* ; do
test -r "$i" || continue
# altbug #24724 (FIXME: check again for cyclic)
echo $i | grep -q "grprepl.alt" && continue
REPLRULE=`grep -v "^#" "$i" 2>/dev/null | grep -- "$1\$" | sed -e "$WARULES" | sed -e "s/^\(.*\)|\(.*\)\$/\2|\1/g" | head -n1`
# For broken rule
echo $REPLRULE | grep "^|" >/dev/null && REPLRULE=""
......
System/Libraries|System Environment/Libraries
System/Libraries/Python|Development/Python
Development/Other|Development/Libraries
Development/Other|Development/Tools
Sound|Applications/Sound
X11/Applications/Games|Games/Other
Development/Libraries|Development/C
......
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