summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 21:55:42 -0500
committerRichard Nelson <unixabg@gmail.com>2010-06-22 21:55:42 -0500
commit7b76d5d37e9a226b31a56b698c3a2fff2617184a (patch)
tree54289c8b50ca89a49afb42f6d61c50e8707db538
parent442821364abe1cc7f4d460253781084641f2cff9 (diff)
downloadvyos-live-build-7b76d5d37e9a226b31a56b698c3a2fff2617184a.tar.gz
vyos-live-build-7b76d5d37e9a226b31a56b698c3a2fff2617184a.zip
LH_ARCHITECTURE expression cleanup.
-rwxr-xr-xcgi/cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 825e7f092..2ca864afe 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -63,7 +63,7 @@ else
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)
+ LH_ARCHITECTURE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architecture=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)
LH_BOOTSTRAP_FLAVOUR=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootstrap_flavour=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_MIRROR_BOOTSTRAP=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])mirror_bootstrap=[0-9,a-z,A-Z,.,~,:,/,_,-]+' | cut -f 2 -d '=' | head -n1)
LH_MIRROR_BINARY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])mirror_binary=[0-9,a-z,A-Z,.,~,:,/,_,-]+' | cut -f 2 -d '=' | head -n1)