Get rid of extraneous whitespace showing up in syslinux menu

The leading space ends up in the FLAVOUR substitution in live.cfg.
This commit is contained in:
Raphaël Hertzog 2020-01-22 15:00:06 +01:00
parent 1e7f3d53df
commit be5aaa0c51
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ Set_defaults ()
for FLAVOUR in ${LB_LINUX_FLAVOURS_WITH_ARCH}
do
ARCH_FILTERED_FLAVOUR="$(echo ${FLAVOUR} | awk -F':' '{print $1}')"
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS} ${ARCH_FILTERED_FLAVOUR}"
LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:+$LB_LINUX_FLAVOURS }${ARCH_FILTERED_FLAVOUR}"
done