summaryrefslogtreecommitdiff
path: root/frontends/cgi/live-build-cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2012-12-14 17:40:16 -0600
committerRichard Nelson <unixabg@gmail.com>2012-12-14 17:40:16 -0600
commit9687f85695c6ef77a6acf95758e5d3e513890d8f (patch)
tree69c961016da671d157e0a1b2ec71402e97a1f429 /frontends/cgi/live-build-cgi
parentba1ded2f1fef1d4478d18616b26b90af15ec8e09 (diff)
downloadvyos-live-build-9687f85695c6ef77a6acf95758e5d3e513890d8f.tar.gz
vyos-live-build-9687f85695c6ef77a6acf95758e5d3e513890d8f.zip
Update l-b-cgi frontend to support new git config structure.
Diffstat (limited to 'frontends/cgi/live-build-cgi')
-rwxr-xr-xfrontends/cgi/live-build-cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi
index 55ce08302..23f0c89ca 100755
--- a/frontends/cgi/live-build-cgi
+++ b/frontends/cgi/live-build-cgi
@@ -64,8 +64,7 @@ else
_LB_CGIPACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])cgipackages=[-0-9a-zA-Z. _+]+' | cut -f 2 -d '=' | head -n1)
# CGI Config for git
- _LB_CONFIG=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])config=[-a-z.]+' | cut -f 2 -d '=' | head -n1)
- _LB_CONFIG="git://live.debian.net/git/${_LB_CONFIG}"
+ _LB_CONFIG=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])config=[-a-z]+' | cut -f 2 -d '=' | head -n1)
# Standard options
LB_BINARY_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1)