Skip to content

Commit

Permalink
Merge pull request #254 from xylar/fix-load-script
Browse files Browse the repository at this point in the history
Fix the load script to reinstall polaris when needed
  • Loading branch information
xylar authored Dec 23, 2024
2 parents 265bb55 + 6d7ad57 commit ed5cb49
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 ed5cb49

Please sign in to comment.