Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"sage -sh" should run $SHELL with Sage environment variables set #1063

Closed
sagetrac-cwitty mannequin opened this issue Nov 2, 2007 · 2 comments
Closed

"sage -sh" should run $SHELL with Sage environment variables set #1063

sagetrac-cwitty mannequin opened this issue Nov 2, 2007 · 2 comments

Comments

@sagetrac-cwitty
Copy link
Mannequin

sagetrac-cwitty mannequin commented Nov 2, 2007

After the patch, this works:

cwitty@magnetar:~/sage$ ./sage -sh
Starting subshell with Sage environment variables set:
cwitty@magnetar:~/sage$ echo $SAGE_LOCAL
/home/cwitty/sage/local
cwitty@magnetar:~/sage$ exit
exit
Exited Sage subshell.

I also patch sage-spkg, to change the error message it prints on failed package installs:

If you want to try to fix the problem, yourself *don't* just cd to
/home/cwitty/sage/spkg/build/genus2reduction-0.3 and type 'make'.
Instead type "/home/cwitty/sage/sage -sh"
in order to set all environment variables correctly, then cd to
/home/cwitty/sage/spkg/build/genus2reduction-0.3
(When you are done debugging, you can type "exit" to leave the
subshell.)

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/1063

@sagetrac-cwitty sagetrac-cwitty mannequin added this to the sage-2.8.11 milestone Nov 2, 2007
@sagetrac-cwitty
Copy link
Mannequin Author

sagetrac-cwitty mannequin commented Nov 2, 2007

Attachment: sage-sh.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Nov 2, 2007

comment:1

applied to 2.8.11.rc1

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Nov 2, 2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant