summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-02-17 12:23:34 +0100
committerDaniel Baumann <daniel@debian.org>2010-02-17 12:30:08 +0100
commitc91cfd0108a733f4a6f2f8d43978ce8829a58247 (patch)
treeb6b5ad5891ec1912bf8735278d72739f58afad3e
parent670e92b17d0937eed1649c090e4e846c5701a918 (diff)
downloadvyos-live-build-c91cfd0108a733f4a6f2f8d43978ce8829a58247.tar.gz
vyos-live-build-c91cfd0108a733f4a6f2f8d43978ce8829a58247.zip
Removing whitespaces at the end of bootappend-install assignements.
-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}"