Skip to content

Commit

Permalink
fix silly mistake in replace function
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 22, 2024
1 parent 23406aa commit b3a6215
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 @@ -628,7 +628,7 @@ def replace_non_distributable_files_with_symlinks(log, install_dir, package, all
Replace files that cannot be distributed with symlinks into host_injections
"""
extension_based = { "CUDA": False, "cuDNN": True, "cuTENSOR": True }
if package in extension_based:
if not package in extension_based:
raise EasyBuildError("Don't know how to strip non-distributable files from package %s.", package)

# iterate over all files in the package installation directory
Expand Down

0 comments on commit b3a6215

Please sign in to comment.