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:
parent
9630fc1d65
commit
0942afffdd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue