Skip to content

Commit

Permalink
Fix the load script to reinstall polaris when needed
Browse files Browse the repository at this point in the history
It was looking for `setup.py` but this has been replaced by
`pyproject.toml` in the root of the repo.
  • Loading branch information
xylar committed Dec 22, 2024
1 parent e1ad8af commit 6d7ad57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ def _write_load_polaris(options, prefix, spack_script, env_vars):
if env_type == 'dev':
update_polaris = \
"""
if [[ -z "${NO_POLARIS_REINSTALL}" && -f "./setup.py" && \\
if [[ -z "${NO_POLARIS_REINSTALL}" && -f "./pyproject.toml" && \\
-d "polaris" ]]; then
# safe to assume we're in the polaris repo
# update the polaris installation to point here
Expand Down

0 comments on commit 6d7ad57

Please sign in to comment.