From 8e7947cb35a24e8c021848a0951314cc1c8851f7 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sun, 14 May 2017 12:27:53 -0700 Subject: Print gcc version in the same way as the rest Signed-off-by: Alexey Neyman diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index f3a21d2..e60e29f 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -101,7 +101,7 @@ dump_single_sample() { cc=$(echo ${CT_CC} | ${awk} '{ print toupper($0)}') version=$(eval echo \${CT_CC_${cc}_VERSION}) compiler=$(echo $cc | ${awk} '{print tolower($0)}') - printf " $compiler | $version" + printf " $compiler-$version" printf "\n" printf " %-*s : %s" ${width} "Languages" "C" [ "${CT_CC_LANG_CXX}" = "y" ] && printf ",C++" -- cgit v0.10.2-6-g49f6