Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/bin/sage-build-env[-config]: Do not override SAGE_EDITABLE if i…
Browse files Browse the repository at this point in the history
…t is set already
  • Loading branch information
Matthias Koeppe committed May 8, 2022
1 parent c264e7f commit de18ba0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/bin/sage-build-env
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ if [ "x$SAGE_BUILD_ENV_SOURCED" = "x" ]; then
if [ "x$SAGE_DEBUG" = "x" ]; then
export SAGE_DEBUG="$CONFIGURED_SAGE_DEBUG"
fi
# Likewise for SAGE_EDITABLE
if [ "x$SAGE_EDITABLE" = "x" ]; then
export SAGE_EDITABLE="$CONFIGURED_SAGE_EDITABLE"
fi

# This is usually blank if the system GMP is used, or $SAGE_LOCAL otherwise
if [ -n "$SAGE_GMP_PREFIX" ]; then
Expand Down
2 changes: 1 addition & 1 deletion build/bin/sage-build-env-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ export SAGE_SUITESPARSE_PREFIX="@SAGE_SUITESPARSE_PREFIX@"

export SAGE_CONFIGURE_FFLAS_FFPACK="@SAGE_CONFIGURE_FFLAS_FFPACK@"

export SAGE_EDITABLE="@SAGE_EDITABLE@"
export CONFIGURED_SAGE_EDITABLE="@SAGE_EDITABLE@"

0 comments on commit de18ba0

Please sign in to comment.