Skip to content

Commit ed5cb49

Browse files
authored
Merge pull request #254 from xylar/fix-load-script
Fix the load script to reinstall polaris when needed
2 parents 265bb55 + 6d7ad57 commit ed5cb49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ def _write_load_polaris(options, prefix, spack_script, env_vars):
10581058
if env_type == 'dev':
10591059
update_polaris = \
10601060
"""
1061-
if [[ -z "${NO_POLARIS_REINSTALL}" && -f "./setup.py" && \\
1061+
if [[ -z "${NO_POLARIS_REINSTALL}" && -f "./pyproject.toml" && \\
10621062
-d "polaris" ]]; then
10631063
# safe to assume we're in the polaris repo
10641064
# update the polaris installation to point here

0 commit comments

Comments
 (0)