sagemath/sagemath-readonly.patch
2014-08-15 13:30:04 -03:00

17 lines
727 B
Diff

diff -up src/sage/all.py.orig src/sage/all.py
--- src/sage/all.py.orig 2014-08-12 14:10:06.778954845 -0300
+++ src/sage/all.py 2014-08-12 14:10:14.402955137 -0300
@@ -316,11 +316,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')
# Do nothing if the file already exists
if os.path.isfile(started_file):
return