From cd443f0faad6561791b4ae9a617bed680036959a Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Thu, 26 Jan 2023 16:44:51 +0000 Subject: [PATCH] JAL-4118 fix a small buglet in BackupFiles exhibited in tests on build server. Possible problem with filename with dirs in passed to BackupFiles. --- src/jalview/io/BackupFiles.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/io/BackupFiles.java b/src/jalview/io/BackupFiles.java index 9112042..14c1260 100644 --- a/src/jalview/io/BackupFiles.java +++ b/src/jalview/io/BackupFiles.java @@ -253,6 +253,7 @@ public class BackupFiles { String tempfilename = file.getName(); File tempdir = file.getParentFile(); + tempdir.mkdirs(); Console.trace( "BACKUPFILES [file!=null] attempting to create temp file for " + tempfilename + " in dir " + tempdir); -- 1.7.10.2