Skip to content

Commit b63778e

Browse files
author
Caspar van Leeuwen
committed
Reassing host_inj_path
1 parent d49059c commit b63778e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eb_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ def replace_non_distributable_files_with_symlinks(log, install_dir, pkg_name, al
13221322
# After this substitution, host_inj_path will be something like
13231323
# /cvmfs/software.eessi.io/host_injections/.../x86_64/.../CUDA/bin/nvcc
13241324
if software_subdir and cpu_family:
1325-
host_inj_path.replace(software_subdir, cpu_family)
1325+
host_inj_path = host_inj_path.replace(software_subdir, cpu_family)
13261326
# make sure source and target of symlink are not the same
13271327
if full_path == host_inj_path:
13281328
raise EasyBuildError("Source (%s) and target (%s) are the same location, are you sure you "

0 commit comments

Comments
 (0)