Skip to content

Commit b12aefc

Browse files
committed
use match instead of reverse match
1 parent fc11207 commit b12aefc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EESSI-install-software.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ else
412412

413413
# copy EasyBuild log file if EasyBuild exited with an error
414414
if [ ${ec} -ne 0 ]; then
415-
eb_last_log=$(eb --last-log | grep -vE "==|>>")
415+
eb_last_log=$(eb --last-log | grep ^/.*\.log)
416416
# copy to current working directory
417417
cp -a ${eb_last_log} .
418418
echo "Last EasyBuild log file copied from ${eb_last_log} to ${PWD}"

0 commit comments

Comments
 (0)