Changeset 1231 for trunk/autoquest-plugin-html
- Timestamp:
- 06/26/13 15:33:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDcorrectHTMLLogDirs.java
r1221 r1231 111 111 if (!destination.exists()) { 112 112 if (!destination.mkdirs()) { 113 Console.printerrln("Could create directory " + destination);113 Console.printerrln("Could not create directory " + destination); 114 114 Console.printerrln("not moving " + file); 115 115 } … … 123 123 destination = new File(destination, file.getName()); 124 124 125 if (!file.equals(destination)) { 125 // we seem to need both comparisons, as the first one does not always work 126 if (!file.equals(destination) && 127 !file.getAbsolutePath().equals(destination.getAbsolutePath())) 128 { 126 129 file.renameTo(destination); 127 130
Note: See TracChangeset
for help on using the changeset viewer.