Lines 262-268
static void build_script(FileName const & from_file,
Link Here
|
262 |
LYXERR(Debug::GRAPHICS, "build_script ... "); |
262 |
LYXERR(Debug::GRAPHICS, "build_script ... "); |
263 |
typedef Graph::EdgePath EdgePath; |
263 |
typedef Graph::EdgePath EdgePath; |
264 |
|
264 |
|
265 |
script << "#!/usr/bin/env python\n" |
265 |
script << "#!/usr/bin/env python2\n" |
266 |
"# -*- coding: utf-8 -*-\n" |
266 |
"# -*- coding: utf-8 -*-\n" |
267 |
"import os, shutil, sys\n\n" |
267 |
"import os, shutil, sys\n\n" |
268 |
"def unlinkNoThrow(file):\n" |
268 |
"def unlinkNoThrow(file):\n" |