From 2ef5b5ad1afa6fd46fe8239092efba2eb9ff059a Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 11 Jun 2024 08:50:39 +0200 Subject: [PATCH] fix shell syntax for adding exports --- eb_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_hooks.py b/eb_hooks.py index 3adf7cb98e..976c1ba777 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -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'])