sagemath/sagemath-readonly.patch
2017-11-10 11:26:56 -05:00

17 lines
701 B
Diff

diff -up src/sage/all.py.orig src/sage/all.py
--- src/sage/all.py.orig 2017-11-08 08:16:05.331190588 -0500
+++ src/sage/all.py 2017-11-08 08:16:14.195190927 -0500
@@ -295,11 +295,11 @@ def _write_started_file():
Check that the file exists when Sage is running::
- sage: started_file = os.path.join(SAGE_LOCAL, 'etc', 'sage-started.txt')
+ sage: started_file = os.path.join(DOT_SAGE, 'sage-started.txt')
sage: os.path.isfile(started_file)
True
"""
- started_file = os.path.join(SAGE_LOCAL, 'etc', 'sage-started.txt')
+ started_file = os.path.join(DOT_SAGE, 'sage-started.txt')
# Current time with a resolution of 1 second
import datetime