From 75b2eb1b8cd983b3f54e170a175eb5b7dffce028 Mon Sep 17 00:00:00 2001 From: dolorosus Date: Mon, 11 Jan 2016 21:50:48 +0100 Subject: [PATCH] Quoting variables to preserve whitespaces in banner --- scripts/image | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/image b/scripts/image index 0f9429a971..459394d28f 100755 --- a/scripts/image +++ b/scripts/image @@ -109,11 +109,11 @@ fi fi # create /etc/issue - echo $GREETING0 > $INSTALL/etc/issue - echo $GREETING1 >> $INSTALL/etc/issue - echo $GREETING2 >> $INSTALL/etc/issue - echo $GREETING3 >> $INSTALL/etc/issue - echo $GREETING4 >> $INSTALL/etc/issue + echo "$GREETING0" > $INSTALL/etc/issue + echo "$GREETING1" >> $INSTALL/etc/issue + echo "$GREETING2" >> $INSTALL/etc/issue + echo "$GREETING3" >> $INSTALL/etc/issue + echo "$GREETING4" >> $INSTALL/etc/issue echo "$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) Version: $OPENELEC_VERSION" >> $INSTALL/etc/issue if [ -n "$GIT_HASH" ]; then echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue