summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 21:53:52 -0500
committerRichard Nelson <unixabg@gmail.com>2010-06-22 21:53:52 -0500
commit442821364abe1cc7f4d460253781084641f2cff9 (patch)
tree50d08b4a884d5c171f66ed73262e3a5e993a8826
parent723e080c04e52fa3197796e63040536282130f20 (diff)
downloadvyos-live-build-442821364abe1cc7f4d460253781084641f2cff9.tar.gz
vyos-live-build-442821364abe1cc7f4d460253781084641f2cff9.zip
LH_PACKAGES expression cleanup.
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index b61626f09..825e7f092 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)