summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 22:05:30 -0500
committerRichard Nelson <unixabg@gmail.com>2010-06-22 22:05:30 -0500
commitf5eb2ff064f92656774db88b55e12e1cc3f69e66 (patch)
tree62fbbe5f29b8f3e09c6ae2cefe15d1757e610d7b
parent55bd8e47bb571a4e3060a8cdd23d3f366bb6da13 (diff)
downloadvyos-live-build-f5eb2ff064f92656774db88b55e12e1cc3f69e66.tar.gz
vyos-live-build-f5eb2ff064f92656774db88b55e12e1cc3f69e66.zip
LH_LINUX_FLAVOURS expression cleanup.
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 811f83315..5c68400cf 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -72,7 +72,7 @@ else
# Advanced chroot options
LH_CHROOT_FILESYSTEM=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])chroot_filesystem=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)
- LH_LINUX_FLAVOURS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])linux_flavours=[0-9,a-z,-]+' | cut -f 2 -d '=' | head -n1)
+ LH_LINUX_FLAVOURS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])linux_flavours=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1)
LH_SECURITY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])security=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_SYMLINKS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])symlinks=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_SYSVINIT=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])sysvinit=[a-z]+' | cut -f 2 -d '=' | head -n1)