File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ if [ "$SAGE_ENV_SOURCED" = "$SAGE_ENV_VERSION" ]; then
121121 # Already sourced, nothing to do.
122122 return 0
123123fi
124- export SAGE_ENV_SOURCED=" $SAGE_ENV_VERSION "
124+ # Set SAGE_ENV_SOURCED to the appropriate value at the end of this file, once
125+ # $SAGE_LOCAL, $SAGE_VENV, $SAGE_SRC have been set.
125126
126127# The compilers are set in order of priority by
127128# 1) environment variables
643644# our doctests predictable (which was the status quo with earlier
644645# versions of debugpy).
645646export PYDEVD_DISABLE_FILE_VALIDATION=1
647+
648+ # Finally, set SAGE_ENV_SOURCED as evidence that this script has been
649+ # run successfully.
650+ export SAGE_ENV_SOURCED=" 6:$SAGE_LOCAL :$SAGE_VENV :$SAGE_SRC "
You can’t perform that action at this time.
0 commit comments