Skip to content

Commit

Permalink
quote path in module file
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Nov 23, 2024
1 parent d3345ea commit 8df8a21
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 @@ -223,7 +223,7 @@ def parse_hook_cuda_prepend_path_cupti(ec, eprefix):
ec_dict = ec.asdict()
modluafooter = 'modluafooter'
cupti_lib_dir = os.path.join("extras", "CUPTI", "lib64")
extra_mod_footer_lines = [f'prepend_path("LIBRARY_PATH", pathJoin(root, {cupti_lib_dir}))']
extra_mod_footer_lines = [f'prepend_path("LIBRARY_PATH", pathJoin(root, "{cupti_lib_dir}"))']
if modluafooter in ec_dict:
print_msg("parse_hook_cuda...: old modluafooter = '%s'", ec_dict[modluafooter])
value = ec_dict[modluafooter]
Expand Down

0 comments on commit 8df8a21

Please sign in to comment.