Skip to content

Commit

Permalink
Update eb_hooks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa authored Sep 24, 2024
1 parent fb2c085 commit cf63589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def post_sanitycheck_cuda(self, *args, **kwargs):
# under host_injections
accel_subdir = os.getenv("EESSI_ACCELERATOR_TARGET")
if accel_subdir:
host_inj_path = host_inj_path.replace('/accel/%s' % accel_subdir, '')
host_inj_path = host_inj_path.replace("/accel/%s" % accel_subdir, '')
# make sure source and target of symlink are not the same
if full_path == host_inj_path:
raise EasyBuildError("Source (%s) and target (%s) are the same location, are you sure you "
Expand Down

0 comments on commit cf63589

Please sign in to comment.