Skip to content

Commit

Permalink
Fixed a bug in copying resources to user-defined homedir
Browse files Browse the repository at this point in the history
  • Loading branch information
rubendel committed Nov 4, 2015
1 parent c258123 commit fbe65f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BimServer/src/org/bimserver/BimServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ private void initHomeDir() throws IOException {
for (Path x : PathUtils.list(f)) {
FileUtils.copyFile(x.toFile(), destDir2.resolve(x.getFileName().toString()).toFile());
}
} else if (Files.isDirectory(f)) {
} else {
FileUtils.copyFile(f.toFile(), destFile.resolve(f.getFileName().toString()).toFile());
}
}
Expand Down

0 comments on commit fbe65f5

Please sign in to comment.