From 5b3a7d8021f138182c6c23608126c225f6c73ed6 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Wed, 17 Feb 2010 12:23:34 +0100
Subject: [PATCH] Removing whitespaces at the end of bootappend-install
 assignements.

---
 functions/defaults.sh | 2 ++
 1 file changed, 2 insertions(+)

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}"