diff options
author | Raphaël Hertzog <raphael@offensive-security.com> | 2020-01-22 15:00:06 +0100 |
---|---|---|
committer | Raphaël Hertzog <raphael@offensive-security.com> | 2020-01-22 15:00:06 +0100 |
commit | be5aaa0c51ffda29eda3367ea4f7f699dde5e9b2 (patch) | |
tree | bc78367feaa24721ac4a927f69665dee96f706cf /functions/defaults.sh | |
parent | 1e7f3d53df3693e3e38d058edee6f2ae6ce19294 (diff) | |
download | vyos-live-build-be5aaa0c51ffda29eda3367ea4f7f699dde5e9b2.tar.gz vyos-live-build-be5aaa0c51ffda29eda3367ea4f7f699dde5e9b2.zip |
Get rid of extraneous whitespace showing up in syslinux menu
The leading space ends up in the FLAVOUR substitution in live.cfg.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index a23424f92..91350ab43 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -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 |