Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions EESSI-install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,16 @@ else

# copy EasyBuild log file if EasyBuild exited with an error
if [ ${ec} -ne 0 ]; then
eb_last_log=$(unset EB_VERBOSE; eb --last-log)
# copy to current working directory
cp -a ${eb_last_log} .
echo "Last EasyBuild log file copied from ${eb_last_log} to ${PWD}"
# copy to build logs dir (with context added)
copy_build_log "${eb_last_log}" "${build_logs_dir}"
eb_last_log=$(eb --last-log | grep ^/.*\.log)
# copy to current working directory if file exhists
if [ -f ${eb_last_log} ]; then
cp -a ${eb_last_log} .
echo "Last EasyBuild log file copied from ${eb_last_log} to ${PWD}"
# copy to build logs dir (with context added)
copy_build_log "${eb_last_log}" "${build_logs_dir}"
else
fatal_error "Could not copy EasyBuild log file because ${eb_last_log} does not exist"
fi
fi

$TOPDIR/check_missing_installations.sh ${easystack_file} ${pr_diff}
Expand Down
Loading