summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 21:53:52 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:12 +0100
commitccdf691df663bfe9b2df31577cd155e8269a2d3e (patch)
tree50d08b4a884d5c171f66ed73262e3a5e993a8826 /cgi
parent3dd3874bccda43847ff929df51768614a7998151 (diff)
downloadlive-build-ccdf691df663bfe9b2df31577cd155e8269a2d3e.zip
live-build-ccdf691df663bfe9b2df31577cd155e8269a2d3e.tar.gz
LH_PACKAGES expression cleanup.
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index b61626f..825e7f0 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -60,7 +60,7 @@ else
LH_BINARY_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1)
LH_DISTRIBUTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])distribution=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_PACKAGES_LISTS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages_lists=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1)
- LH_PACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages=[0-9,a-z,A-Z,., ,_,-]+' | cut -f 2 -d '=' | head -n1)
+ LH_PACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages=[-0-9a-zA-Z. _]+' | cut -f 2 -d '=' | head -n1)
# Advanced bootstrap options
LH_ARCHITECTURE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architecture=[0-9,a-z]+' | cut -f 2 -d '=' | head -n1)