fix: grep warning: stray \ before /

This commit is contained in:
shamilbi 2022-09-08 21:23:46 +02:00
parent efd23c6ca3
commit a278359a9a

View file

@ -639,7 +639,7 @@ function mkregex_blacklist() {
s,^, , s,^, ,
s,$, , s,$, ,
s,^ (extra|pasture|patches|slackware(|64)|testing)/ $,^\1 , s,^ (extra|pasture|patches|slackware(|64)|testing)/ $,^\1 ,
s,^ ([^/]+)/ $, \\\.\\\/$PKGMAIN\\\/\1\$, s,^ ([^/]+)/ $, \\\./$PKGMAIN/\1\$,
" ${CONF}/blacklist > ${TMPDIR}/blacklist.tmp " ${CONF}/blacklist > ${TMPDIR}/blacklist.tmp
# Filter server and local package lists through blacklist # Filter server and local package lists through blacklist