Skip to content

Commit b3a6215

Browse files
committed
fix silly mistake in replace function
1 parent 23406aa commit b3a6215

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
@@ -628,7 +628,7 @@ def replace_non_distributable_files_with_symlinks(log, install_dir, package, all
628628
Replace files that cannot be distributed with symlinks into host_injections
629629
"""
630630
extension_based = { "CUDA": False, "cuDNN": True, "cuTENSOR": True }
631-
if package in extension_based:
631+
if not package in extension_based:
632632
raise EasyBuildError("Don't know how to strip non-distributable files from package %s.", package)
633633

634634
# iterate over all files in the package installation directory

0 commit comments

Comments
 (0)