summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocaldebpool2
1 files changed, 1 insertions, 1 deletions
diff --git a/localdebpool b/localdebpool
index 2820662..19ff736 100755
--- a/localdebpool
+++ b/localdebpool
@@ -184,7 +184,7 @@ debugprint "Sections in batch: \"$batchsections\""
batchsections_re=
if [ -n "$batchsections" ]; then
- batchsections_re="\b$(regexfromlist $batchsections)\b"
+ batchsections_re="\b$(regexfromlist ${batchsections/+/\\\\+})\b"
else
echo 1>&2 "ERROR: Package(s) $@ was not found in any section."
exit 1