diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-02-16 19:09:07 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2021-02-16 22:27:25 -0600 |
commit | 0a37c5eee7f8450b81ea8067e14ac55a0c33e901 (patch) | |
tree | 1fbf08de9cf74b25ca9c67287faec0a13a4d7762 /files/core-functions.sh | |
parent | f20d83a658cb66982d41cbb291bce6ca35548bfa (diff) | |
download | slackpkg-0a37c5eee7f8450b81ea8067e14ac55a0c33e901.tar.xz |
Escape plus signs in blacklist regex
Signed-off-by: Robby Workman <rworkman@slackware.com>
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r-- | files/core-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |