summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-22 19:37:14 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:12 +0100
commit423b192d8b938dd21bcc20525ace1cebd8bd6699 (patch)
tree80c939c2d5853abfdd43c2133e233a7aeeb8382b
parentf374ab97c7d0f6878bd75d5718b60ad05ad740e3 (diff)
downloadlive-build-423b192d8b938dd21bcc20525ace1cebd8bd6699.zip
live-build-423b192d8b938dd21bcc20525ace1cebd8bd6699.tar.gz
Added : and / to LH_BOOTAPPEND for live-config.hooks calls.
-rwxr-xr-xcgi/cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/cgi b/cgi/cgi
index 6d0d9de..f10feda 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -79,7 +79,7 @@ else
# Advanced binary options
LH_BINARY_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_indices=[a-z]+' | cut -f 2 -d '=' | head -n1)
- LH_BOOTAPPEND=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend=[-0-9a-zA-Z. _+=]+' | cut -f2- -d '=' | head -n1)
+ LH_BOOTAPPEND=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1)
LH_BOOTLOADER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootloader=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1)
LH_ENCRYPTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])encryption=[0-9,a-z,A-Z]+' | cut -f 2 -d '=' | head -n1)
@@ -142,7 +142,7 @@ else
-e "s/LH_SYMLINKS/${LH_SYMLINKS}/" \
-e "s/LH_SYSVINIT/${LH_SYSVINIT}/" \
-e "s/LH_BINARY_INDICES/${LH_BINARY_INDICES}/" \
- -e "s/LH_BOOTAPPEND/${LH_BOOTAPPEND}/" \
+ -e "s#LH_BOOTAPPEND#${LH_BOOTAPPEND}#" \
-e "s/LH_BOOTLOADER/${LH_BOOTLOADER}/" \
-e "s/LH_DEBIAN_INSTALLER/${LH_DEBIAN_INSTALLER}/" \
-e "s/LH_ENCRYPTION/${LH_ENCRYPTION}/" \