Skip to content

Commit b9f9a4d

Browse files
laraPPrcasparvl
andauthored
Update EESSI-install-software.sh
Co-authored-by: Caspar van Leeuwen <33718780+casparvl@users.noreply.github.com>
1 parent 10155c1 commit b9f9a4d

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
@@ -414,7 +414,7 @@ else
414414
if [ ${ec} -ne 0 ]; then
415415
eb_last_log=$(eb --last-log | grep ^/.*\.log)
416416
# copy to current working directory if file exhists
417-
if [ -e ${eb_last_log} ]; then
417+
if [ -f ${eb_last_log} ]; then
418418
cp -a ${eb_last_log} .
419419
echo "Last EasyBuild log file copied from ${eb_last_log} to ${PWD}"
420420
# copy to build logs dir (with context added)

0 commit comments

Comments
 (0)