summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-02-17 12:23:34 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commit5b3a7d8021f138182c6c23608126c225f6c73ed6 (patch)
treeb6b5ad5891ec1912bf8735278d72739f58afad3e /functions/defaults.sh
parent22329cf335f9837f333e623ca80ec9e8fd1ca25e (diff)
downloadvyos-live-build-5b3a7d8021f138182c6c23608126c225f6c73ed6.tar.gz
vyos-live-build-5b3a7d8021f138182c6c23608126c225f6c73ed6.zip
Removing whitespaces at the end of bootappend-install assignements.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 03b155477..13399c327 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -798,6 +798,8 @@ Set_defaults ()
LH_BOOTAPPEND_INSTALL="${LH_BOOTAPPEND_INSTALL} -- \${LH_BOOTAPPEND_LIVE}"
fi
+ LH_BOOTAPPEND_INSTALL="$(echo ${LH_BOOTAPPEND_INSTALL} | sed -e 's/[ \t]*$//')"
+
# Setting encryption
LH_ENCRYPTION="${LH_ENCRYPTION:-false}"