diff --git a/build.sh b/build.sh index 79f3324..3bba2ae 100755 --- a/build.sh +++ b/build.sh @@ -45,8 +45,7 @@ log_file=_log/${ts}_build.log echo -e "#\n# build - log file $log_file\n#\n" 2>&1 | tee -a $log_file echo -e "#\n# sourcing environment from build\n#\n" 2>&1 | tee -a $log_file -. ~/.klibio/set-env.sh # must not use pipe `2>&1 | tee -a $log_file`, cause export env vars will not work -. ~/.klibio/set-java.sh 17 2>&1 | tee -a $log_file +pushd ~/.klibio && set-java.sh 17 && popd 2>&1 | tee -a $log_file # signing echo -e "#\n# sourcing sign properties\n#\n" 2>&1 | tee -a $log_file