summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-10-19 17:33:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-20 10:11:44 +0100
commit83729437c584fc74577a2b15dbb2ae094788339d (patch)
tree0de3fc709e75129672b5344dbe213b1fd760c6ca /meta/files
parent41afc48ab979dff6ebb3ea4003dd6baefff7f644 (diff)
downloadopenembedded-core-83729437c584fc74577a2b15dbb2ae094788339d.tar.gz
openembedded-core-83729437c584fc74577a2b15dbb2ae094788339d.tar.bz2
openembedded-core-83729437c584fc74577a2b15dbb2ae094788339d.zip
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 <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/toolchain-shar-extract.sh5
1 files changed, 3 insertions, 2 deletions
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