From 7b29abd77f58a5557691b34c2ed347311ab312d1 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Wed, 28 Sep 2022 23:23:07 +0800 Subject: [PATCH] tweaks --- pipelines/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelines/build.sh b/pipelines/build.sh index 2a01d84..6bf3166 100644 --- a/pipelines/build.sh +++ b/pipelines/build.sh @@ -67,14 +67,14 @@ echo "===================== importability =====================" if [ "$JOB_NAME" != "csst_common" ]; then echo " > try 'from $JOB_NAME.top_level_interface import *'" python -c "from $JOB_NAME.top_level_interface import *" - import_status=$? + status_import=$? if [ "$status_import" != 0 ]; then echo "Import failed!" else echo "Import done!" fi else - import_status=0 + status_import=0 fi # the exit value is determined from unit tests -- GitLab