Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Cantor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Education
Cantor
Commits
0c46c2b6
Commit
0c46c2b6
authored
Nov 11, 2020
by
Nikita Sirgienko
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make Cantor working with Sage 9.2
BUG: 428961 FIXED-IN: 20.12
parent
6c395e74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/backends/sage/cantor-execsage
src/backends/sage/cantor-execsage
+10
-0
No files found.
src/backends/sage/cantor-execsage
View file @
0c46c2b6
...
...
@@ -2,11 +2,21 @@
export
SAGE_ROOT
=
"
$(
$1
--root
)
"
# Sage 9.2 stop source sage-env-config automatically, so do it manually
if
[[
-f
$SAGE_ROOT
"/bin/sage-env"
]]
;
then
if
[[
-f
$SAGE_ROOT
"/bin/sage-env-config"
]]
;
then
source
"
$SAGE_ROOT
/bin/sage-env-config"
>
&2
fi
.
"
$SAGE_ROOT
/bin/sage-env"
>
&2
elif
[[
-f
$SAGE_ROOT
"/local/bin/sage-env"
]]
;
then
if
[[
-f
$SAGE_ROOT
"/local/bin/sage-env-config"
]]
;
then
source
"
$SAGE_ROOT
/local/bin/sage-env-config"
>
&2
fi
.
"
$SAGE_ROOT
/local/bin/sage-env"
>
&2
elif
[[
-f
$SAGE_ROOT
"/src/bin/sage-env"
]]
;
then
if
[[
-f
$SAGE_ROOT
"/src/bin/sage-env-config"
]]
;
then
source
"
$SAGE_ROOT
/src/bin/sage-env-config"
>
&2
fi
.
"
$SAGE_ROOT
/src/bin/sage-env"
>
&2
fi
...
...
Nikita Sirgienko
@sirgienko
mentioned in commit
0f03eb01
·
Nov 11, 2020
mentioned in commit
0f03eb01
mentioned in commit 0f03eb01b34fc813e00694fa313415ca727d97ef
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment