Skip to content

Commit 4a51d8c

Browse files
committed
Simplify naming of the zipped log to avoid errors on some platform.
1 parent 6fb69f5 commit 4a51d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/briac/omegat/plugin/omt/ManageOMTPackage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ public static void createOmt(final File omtZip, final ProjectProperties props) t
663663
fhandler.close();
664664

665665
// Add logfile
666-
out.putNextEntry(new ZipEntry(path.relativize(Paths.get(logFile)).toString().replace("\\", "/")));
666+
out.putNextEntry(new ZipEntry(OConsts.DEFAULT_INTERNAL + '/' + OMT_PACKER_LOGNAME));
667667
Files.copy(Paths.get(logFile), out);
668668
out.closeEntry();
669669
}

0 commit comments

Comments
 (0)