summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:05:12 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 14:05:12 +0200
commit2b817e2b897f6db20e81fcd52e40f90bcda16237 (patch)
tree4f0315d0f2a248840be527cfa156da5d04b4a9f4
parent1db91d83b0d0311c07d8f96023e850efdb44f7eb (diff)
downloadvyos-live-build-2b817e2b897f6db20e81fcd52e40f90bcda16237.tar.gz
vyos-live-build-2b817e2b897f6db20e81fcd52e40f90bcda16237.zip
Fixed wrong sed call.
-rwxr-xr-xhelpers/lh_binary_syslinux4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index b8ff6374d..946819e87 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