sagemath/sagemath-readonly.patch
2013-08-05 18:34:44 -03:00

17 lines
835 B
Diff

diff -up sage-5.10/spkg/build/sage-5.10/sage/all.py.orig sage-5.10/spkg/build/sage-5.10/sage/all.py
--- sage-5.10/spkg/build/sage-5.10/sage/all.py.orig 2013-05-06 13:45:07.053737291 -0300
+++ sage-5.10/spkg/build/sage-5.10/sage/all.py 2013-05-06 13:45:35.317738373 -0300
@@ -307,11 +307,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