Skip to content

Commit 7e32175

Browse files
committed
Clean up build
1 parent af53c9a commit 7e32175

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

deps/build.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,16 @@ function make_tables(datapath, dpath, fname)
267267
srtnam = symnam[srtind]
268268
srtval = symval[srtind]
269269
entmap, map1, map2 = split_words(srtnam)
270-
println("Creating tables")
271270
base32, indvec, vec16, ind16, vec32, ind32 = split_tables(srtval)
272271
(VER, string(now()), src, base32, entmap, indvec, map1, map2, vec16, ind16, vec32, ind32)
273272
end
274273

275-
println("Creating tables")
276274
savfile = joinpath(datapath, fname)
277-
tup = nothing
278-
if !isfile(savfile)
275+
if isfile(savfile)
276+
println("Tables already exist")
277+
else
278+
tup = nothing
279+
println("Creating tables")
279280
try
280281
global tup
281282
tup = make_tables(datapath, dpath, inpname)
@@ -284,5 +285,5 @@ if !isfile(savfile)
284285
end
285286
println("Saving tables to ", savfile)
286287
StrTables.save(savfile, tup)
288+
println("Done")
287289
end
288-
println("Done")

0 commit comments

Comments
 (0)