summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-04-25 20:51:14 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-04-25 20:51:14 +0200
commit7a52186c1b4a8b5896307189701403689bac9145 (patch)
treee65dbf748124e831544ce3962fe4bb26b8d7f415
parent145418141e4965691dad1757c6fbdffa4a96290c (diff)
downloadvyos-live-build-7a52186c1b4a8b5896307189701403689bac9145.tar.gz
vyos-live-build-7a52186c1b4a8b5896307189701403689bac9145.zip
Only automatically do replacements within syslinux configs when they are not directories (as they can be in the pxelinux.cfg case), thanks to Antony Messerli <amesserl@rackspace.com> (Closes: #745760).
-rwxr-xr-xscripts/build/binary_syslinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 085595ada..1cf7f75ff 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -253,7 +253,7 @@ esac
for _FILE in "${_TARGET}"/*.cfg ${_TARGET}/*.svg
do
- if [ -e "${_FILE}" ]
+ if [ -e "${_FILE}" ] && [ ! -d "${_FILE}" ]
then
sed -i -e "s#@APPEND_LIVE@#${LB_BOOTAPPEND_LIVE}#g" \
-e "s#@APPEND_LIVE_FAILSAFE@#${LB_BOOTAPPEND_LIVE_FAILSAFE}#g" \