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:12:01 +0100
commit0942afffddf3c1af933b41cc58831966232ce563 (patch)
tree5328769e36aa227dd4e35209fc3ba10d280e3d63 /meta/files
parent9630fc1d6588dbf62c9fe51bfe5b15e155f47566 (diff)
downloadopenembedded-core-contrib-0942afffddf3c1af933b41cc58831966232ce563.tar.gz
openembedded-core-contrib-0942afffddf3c1af933b41cc58831966232ce563.tar.bz2
openembedded-core-contrib-0942afffddf3c1af933b41cc58831966232ce563.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. (From OE-Core rev: 83729437c584fc74577a2b15dbb2ae094788339d) 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