From 7a52186c1b4a8b5896307189701403689bac9145 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 25 Apr 2014 20:51:14 +0200 Subject: 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 (Closes: #745760). --- scripts/build/binary_syslinux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- cgit v1.2.3