Skip to content

Commit

Permalink
Don't change the filename for the xgettext input temp file every time
Browse files Browse the repository at this point in the history
  • Loading branch information
Noordfrees committed Dec 31, 2024
1 parent 1da3756 commit 6db7842
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wl/utils/Buildcats.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.sql.ResultSet;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
Expand Down Expand Up @@ -102,7 +101,7 @@ private static void recurse(String out, File dir, boolean mapsOnly) throws Excep
* @throws Exception If anything at all goes wrong, throw an Exception.
*/
public static void buildCatalogues() throws Exception {
File uploaderCommentsFile = Files.createTempFile(null, ".lua").toFile();
File uploaderCommentsFile = new File("/tmp/websitemaps_uploader_comments.lua");
PrintWriter write = new PrintWriter(new FileWriter(uploaderCommentsFile));
ResultSet sql = Utils.sql(Utils.Databases.kWebsite,
"select uploader_comment from wlmaps_map where "
Expand Down

0 comments on commit 6db7842

Please sign in to comment.