JAL-4118 fix a small buglet in BackupFiles exhibited in tests on build server. Possib...
[jalview.git] / src / jalview / io / BackupFiles.java
index 9112042..14c1260 100644 (file)
@@ -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);