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>
This commit is contained in:
Paul Eggleton 2015-10-19 17:33:12 +01:00 committed by Richard Purdie
parent 9630fc1d65
commit 0942afffdd
1 changed files with 3 additions and 2 deletions

View File

@ -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