summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
diff options
context:
space:
mode:
authorRoland Clobus <rclobus@rclobus.nl>2020-09-19 18:43:00 +0200
committerRoland Clobus <rclobus@rclobus.nl>2020-10-08 19:21:33 +0000
commit9536a37af08fa37c1db3cc1aa5149603215f7621 (patch)
tree260a9de0095fdc7fef8910d113724a1c3f7b44fd /scripts/build/binary_syslinux
parentf323c93b736c6007975eb116a45b86df5509e7d5 (diff)
downloadvyos-live-build-9536a37af08fa37c1db3cc1aa5149603215f7621.tar.gz
vyos-live-build-9536a37af08fa37c1db3cc1aa5149603215f7621.zip
The sed -e ‘d’ commands with ‘#’ will not work, a slash is needed, fix for 7ffd2288d944840937f556bd56703ba381f4edcc (2015-01-15) and 578dbee516a370935e1b2e49205c524370e1f8d0 (2015-01-29)
Diffstat (limited to 'scripts/build/binary_syslinux')
-rwxr-xr-xscripts/build/binary_syslinux4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 17ff10153..1caab8ab1 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -283,7 +283,7 @@ sed -i -e "s#@MEMTEST_VERSION@#${LB_MEMTEST}#g" -e "s#@MEMTEST@#/${MEMTEST_PATH}
# Replace placeholder for optional install menu entries include
if [ "${LB_DEBIAN_INSTALLER}" = "none" ]; then
rm -f "${_TARGET}"/install.cfg
- sed -i "#@OPTIONAL_INSTALLER_INCLUDE@#d" "${_TARGET}"/menu.cfg
+ sed -i "/@OPTIONAL_INSTALLER_INCLUDE@/d" "${_TARGET}"/menu.cfg
else
sed -i "s#@OPTIONAL_INSTALLER_INCLUDE@#include install.cfg#g" "${_TARGET}"/menu.cfg
fi
@@ -291,7 +291,7 @@ fi
# Replace placeholder for optional memtest menu entry include
if [ ! -f "binary/${MEMTEST_PATH}" ]; then
rm -f "${_TARGET}"/memtest.cfg
- sed -i -e "#@OPTIONAL_MEMTEST_INCLUDE@#d" "${_TARGET}"/utilities.cfg
+ sed -i -e "/@OPTIONAL_MEMTEST_INCLUDE@/d" "${_TARGET}"/utilities.cfg
else
sed -i -e "s#@OPTIONAL_MEMTEST_INCLUDE@#include memtest.cfg#g" "${_TARGET}"/utilities.cfg
fi