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
committerDaniel Baumann <daniel@debian.org>2012-12-15 10:52:43 +0100
commit470494d92dabb61388314ade3cd15b4b3ddb9985 (patch)
treea5a822cac28b2f0928a61dc9a218fe3dc679399c /frontends/cgi/live-build-cgi
parent414b89ed3fed62396f2e9ec242f7aeb9863ac1f3 (diff)
downloadvyos-live-build-470494d92dabb61388314ade3cd15b4b3ddb9985.tar.gz
vyos-live-build-470494d92dabb61388314ade3cd15b4b3ddb9985.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)