diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-15 23:00:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-15 23:00:03 +0300 |
commit | 04febee98f22dd2af0c2e712542ba40083be680f (patch) | |
tree | d771f983f2e6c2c46dfb386f4041f29ef859e6ad /tools/ci/scripts/init.sh | |
parent | da003f08612697b6cd1ad145fab7c5abe04fcca9 (diff) | |
download | mv-04febee98f22dd2af0c2e712542ba40083be680f.tar.gz mv-04febee98f22dd2af0c2e712542ba40083be680f.tar.bz2 mv-04febee98f22dd2af0c2e712542ba40083be680f.tar.xz mv-04febee98f22dd2af0c2e712542ba40083be680f.zip |
Fix compiler version report in ci scripts.
Diffstat (limited to 'tools/ci/scripts/init.sh')
-rwxr-xr-x | tools/ci/scripts/init.sh | 7 |
1 files changed, 5 insertions, 2 deletions
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 |