From 0a37c5eee7f8450b81ea8067e14ac55a0c33e901 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Tue, 16 Feb 2021 19:09:07 +0000 Subject: Escape plus signs in blacklist regex Signed-off-by: Robby Workman --- files/core-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/core-functions.sh b/files/core-functions.sh index 7289114..1f3439c 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -600,7 +600,7 @@ function mkregex_blacklist() { # create second blacklist of single packages from tmp list 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 sed -E "/\.\/$PKGMAIN\/[[:alpha:]]+/d" ${TMPDIR}/blacklist.tmp | -- cgit v1.2.3