diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-19 17:33:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-20 10:12:01 +0100 |
commit | 0942afffddf3c1af933b41cc58831966232ce563 (patch) | |
tree | 5328769e36aa227dd4e35209fc3ba10d280e3d63 /meta/files/toolchain-shar-extract.sh | |
parent | 9630fc1d6588dbf62c9fe51bfe5b15e155f47566 (diff) | |
download | poky-0942afffddf3c1af933b41cc58831966232ce563.tar.gz |
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/toolchain-shar-extract.sh')
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 5 |
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 | |||
68 | esac | 68 | esac |
69 | done | 69 | done |
70 | 70 | ||
71 | echo "@SDK_TITLE@ installer version @SDK_VERSION@" | 71 | titlestr="@SDK_TITLE@ installer version @SDK_VERSION@" |
72 | echo "===========================================================" | 72 | printf "%s\n" "$titlestr" |
73 | printf "%${#titlestr}s\n" | tr " " "=" | ||
73 | 74 | ||
74 | if [ $verbose = 1 ] ; then | 75 | if [ $verbose = 1 ] ; then |
75 | set -x | 76 | set -x |