bugfix in highbeam

This commit is contained in:
ville rantanen
2015-06-22 11:19:54 +03:00
parent 1ef6dad7c7
commit 70196411b2

View File

@@ -100,7 +100,7 @@ done
} }
} }
for (( rIndex=0; rIndex<${#RULES[@]}; rIndex++ )); for (( rIndex=0; rIndex<${#RULES[@]}; rIndex++ ));
do REGEX="$REGEX -e 's/\(${RULES[$r]}\)/${RULES[$(( $rIndex + 1 ))]}\1${Z}/${FLAGS}'" do REGEX="$REGEX -e 's/\(${RULES[$rIndex]}\)/${RULES[$(( $rIndex + 1 ))]}\1${Z}/${FLAGS}'"
rIndex=$(( $rIndex + 1 )) rIndex=$(( $rIndex + 1 ))
done done
} || { } || {