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
121
121
# Already sourced, nothing to do.
122
122
return 0
123
123
fi
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.
125
126
126
127
# The compilers are set in order of priority by
127
128
# 1) environment variables
643
644
# our doctests predictable (which was the status quo with earlier
644
645
# versions of debugpy).
645
646
export 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