summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 22:05:30 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:12 +0100
commit3453eb0701622364389f744009b8a634bcd7c06c (patch)
tree62fbbe5f29b8f3e09c6ae2cefe15d1757e610d7b /cgi
parent2d4eb9f11b7a4a69a177d3a46fbcad291ed44c23 (diff)
downloadvyos-live-build-3453eb0701622364389f744009b8a634bcd7c06c.tar.gz
vyos-live-build-3453eb0701622364389f744009b8a634bcd7c06c.zip
LH_LINUX_FLAVOURS 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 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)