File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -393,16 +393,19 @@ function make_tables()
393
393
(ver1, ver2), (inf1, inf2))
394
394
end
395
395
396
- println (" Creating tables" )
397
- tup = nothing
398
- try
399
- global tup
400
- tup = make_tables ()
401
- catch ex
402
- println (sprint (showerror, ex, catch_backtrace ()))
403
- end
404
396
savfile = joinpath (datapath, " latex.dat" )
405
- println (" Saving tables to " , savfile)
406
- StrTables. save (savfile, tup[1 ])
407
- println (" Done" )
408
-
397
+ if isfile (savfile)
398
+ println (" Tables already exist" )
399
+ else
400
+ tup = nothing
401
+ println (" Creating tables" )
402
+ try
403
+ global tup
404
+ tup = make_tables ()
405
+ catch ex
406
+ println (sprint (showerror, ex, catch_backtrace ()))
407
+ end
408
+ println (" Saving tables to " , savfile)
409
+ StrTables. save (savfile, tup[1 ])
410
+ println (" Done" )
411
+ end
You can’t perform that action at this time.
0 commit comments