summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/scripts/init.sh')
-rwxr-xr-xtools/ci/scripts/init.sh7
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