From: Paul Eggleton Date: Mon, 19 Oct 2015 16:33:12 +0000 (+0100) Subject: toolchain-shar-extract.sh: print full-length title underline X-Git-Tag: 2015-10~98 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=83729437c584fc74577a2b15dbb2ae094788339d;p=openembedded-core.git toolchain-shar-extract.sh: print full-length title underline Print a line that's the full length of the title that it's underneath. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 2eeb2903c8..98b9f1cd98 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh @@ -68,8 +68,9 @@ while getopts ":yd:nDRS" OPT; do esac done -echo "@SDK_TITLE@ installer version @SDK_VERSION@" -echo "===========================================================" +titlestr="@SDK_TITLE@ installer version @SDK_VERSION@" +printf "%s\n" "$titlestr" +printf "%${#titlestr}s\n" | tr " " "=" if [ $verbose = 1 ] ; then set -x