mirror of
https://github.com/rworkman/slackpkg
synced 2025-01-22 19:27:14 +01:00
Escape plus signs in blacklist regex
Signed-off-by: Robby Workman <rworkman@slackware.com>
This commit is contained in:
parent
f20d83a658
commit
0a37c5eee7
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ function mkregex_blacklist() {
|
||||||
|
|
||||||
# create second blacklist of single packages from tmp list
|
# create second blacklist of single packages from tmp list
|
||||||
grep -E -f ${TMPDIR}/blacklist.tmp ${WORKDIR}/pkglist |
|
grep -E -f ${TMPDIR}/blacklist.tmp ${WORKDIR}/pkglist |
|
||||||
awk '{print " "$2" "}' > ${TMPDIR}/blacklist
|
awk '{print " "$2" "}' | sed -E "s,[+],\\\+,g" > ${TMPDIR}/blacklist
|
||||||
|
|
||||||
# remove sets from tmp blacklist, join both lists to create unique list
|
# remove sets from tmp blacklist, join both lists to create unique list
|
||||||
sed -E "/\.\/$PKGMAIN\/[[:alpha:]]+/d" ${TMPDIR}/blacklist.tmp |
|
sed -E "/\.\/$PKGMAIN\/[[:alpha:]]+/d" ${TMPDIR}/blacklist.tmp |
|
||||||
|
|
Loading…
Add table
Reference in a new issue