Commit 7d3b7c23 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repl: add + sign support

parent bd6ba76e
......@@ -21,8 +21,8 @@ tolocal_anyrepl()
# For broken rule
echo $REPLRULE | grep "|" >/dev/null || REPLRULE=""
#REPLRULE=`echo $REPLRULE | sed -r -e 's,|,!,g'`
ALTPKGNAME=`echo $REPLRULE | cut -d"|" -f1`
TARGETPKGNAME=`echo $REPLRULE | cut -d"|" -f2`
ALTPKGNAME=`echo $REPLRULE | cut -d"|" -f1 | sed -e "s|\+|\\\\\+|g"`
TARGETPKGNAME=`echo $REPLRULE | cut -d"|" -f2 | sed -e "s|\+|\\\\\+|g"`
# for compatibility
REPLRULE1=$ALTPKGNAME
REPLRULE2=$TARGETPKGNAME
......
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