summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-14 19:27:53 (GMT)
committerAlexey Neyman <stilor@att.net>2017-05-14 22:23:41 (GMT)
commit8e7947cb35a24e8c021848a0951314cc1c8851f7 (patch)
tree3ce6ab1a41311ef32f331b694eeb4ab6517483c8 /scripts
parentdab327ed06800bf6609aa1b2e370e37e87ce9e80 (diff)
Print gcc version in the same way as the rest
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/showSamples.sh2
1 files changed, 1 insertions, 1 deletions
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++"