Skip to content

Commit

Permalink
fix shell syntax for adding exports
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 11, 2024
1 parent 278ae61 commit 2ef5b5a
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 @@ -329,7 +329,7 @@ def parse_hook_pytorch_bundle_torchvision_setenv(ec, eprefix):
" but expected NONE")
else:
# add preinstallopts
ext_dict['preinstallopts'] = torchvision_include + '; ' + torchvision_library
ext_dict['preinstallopts'] = torchvision_include + ' && ' + torchvision_library + ' && '
exts_list_new.append((item[0], item[1], ext_dict))
ec['exts_list'] = exts_list_new
print_msg("New exts_list: '%s'", ec['exts_list'])
Expand Down

0 comments on commit 2ef5b5a

Please sign in to comment.