From 9536a37af08fa37c1db3cc1aa5149603215f7621 Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Sat, 19 Sep 2020 18:43:00 +0200 Subject: [PATCH] =?UTF-8?q?The=20sed=20-e=20=E2=80=98d=E2=80=99=20commands?= =?UTF-8?q?=20with=20=E2=80=98#=E2=80=99=20will=20not=20work,=20a=20slash?= =?UTF-8?q?=20is=20needed,=20fix=20for=207ffd2288d944840937f556bd56703ba38?= =?UTF-8?q?1f4edcc=20(2015-01-15)=20and=20578dbee516a370935e1b2e49205c5243?= =?UTF-8?q?70e1f8d0=20(2015-01-29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build/binary_syslinux | 4 ++-- 1 file 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