flux-pmix: correct FLUX_PMI_CLIENT_SEARCHPATH (#45277)

This commit is contained in:
Konstantinos Parasyris 2024-08-07 04:09:47 -07:00 committed by GitHub
parent d2f269ed7b
commit 1b1663acea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,8 +57,8 @@ def add_pluginpath(self):
def setup_run_environment(self, env):
spec = self.spec
env.prepend_path("FLUX_SHELL_RC_PATH", join_path(self.prefix, "etc/flux/shell/lua.d"))
env.prepend_path("FLUX_SHELL_RC_PATH", join_path(self.prefix.etc, "flux/shell/lua.d"))
if spec.satisfies("@0.3.0:"):
env.prepend_path(
"FLUX_PMI_CLIENT_SEARCHPATH", join_path(self.prefix, "flux/upmi/plugins")
"FLUX_PMI_CLIENT_SEARCHPATH", join_path(self.prefix.lib, "flux/upmi/plugins")
)