From b6a1dd22a84fbbb11b953c3e20d07c7fadc6e64c Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 23 Sep 2007 14:05:12 +0200
Subject: Fixed wrong sed call.

---
 helpers/lh_binary_syslinux | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index b8ff637..946819e 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -486,7 +486,7 @@ case "${LH_BINARY_IMAGES}" in
 			if [ "${LH_SYSLINUX_SPLASH}" = "none" ]
 			then
 				rm -f tftpboot/pxelinux.cfg/splash.rle
-				sed -e "s/.*splash.*//" tftpboot/pxelinux.cfg/boot.txt
+				sed -i -e "s/.*splash.*//" tftpboot/pxelinux.cfg/boot.txt
 			else
 				cp -f "${LH_SYSLINUX_SPLASH}" tftpboot/pxelinux.cfg/splash.rle
 			fi
@@ -580,7 +580,7 @@ case "${LH_BINARY_IMAGES}" in
 			if [ "${LH_SYSLINUX_SPLASH}" = "none" ]
 			then
 				rm -f "${DESTDIR}"/splash.rle
-				sed -e "s/.*splash.*//" "${DESTDIR}"/boot.txt
+				sed -i -e "s/.*splash.*//" "${DESTDIR}"/boot.txt
 			else
 				cp -f "${LH_SYSLINUX_SPLASH}" "${DESTDIR}"/splash.rle
 			fi
-- 
cgit v1.0