From 04febee98f22dd2af0c2e712542ba40083be680f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Apr 2016 23:00:03 +0300 Subject: Fix compiler version report in ci scripts. --- tools/ci/scripts/init.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tools/ci/scripts/init.sh') diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index 053f36b64..5db38aa02 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -7,11 +7,14 @@ export dir=$(pwd) export ERRFILE=${dir}/logs/${LOGFILE} cat /etc/os-release -$CC --version -$CXX --version rm ${ERRFILE} +function do_init { + $CC --version + $CXX --version +} + function aptget_update { apt-get update if [ "$?" != 0 ]; then -- cgit v1.2.3-70-g09d2