diff options
-rwxr-xr-x | scripts/build/binary_syslinux | 2 |
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" \ |