diff -up src/sage/all.py.orig src/sage/all.py --- src/sage/all.py.orig 2019-06-27 11:31:07.149494781 -0600 +++ src/sage/all.py 2019-06-27 11:32:11.332515672 -0600 @@ -286,11 +286,11 @@ def _write_started_file(): Check that the file exists when Sage is running (note, this file is not necessarily installed or used by downstream packages of Sage):: - 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) # optional - build 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