diff --git a/brut.j.dir/src/main/java/brut/directory/DirUtil.java b/brut.j.dir/src/main/java/brut/directory/DirUtil.java index 5b85af8f..e1ba399f 100644 --- a/brut.j.dir/src/main/java/brut/directory/DirUtil.java +++ b/brut.j.dir/src/main/java/brut/directory/DirUtil.java @@ -76,6 +76,9 @@ public class DirUtil { OS.rmdir(new File(out, fileName)); in.getDir(fileName).copyToDir(new File(out, fileName)); } else { + if (fileName.equals("res") && !in.containsFile(fileName)) { + return; + } File outFile = new File(out, fileName); outFile.getParentFile().mkdirs(); BrutIO.copyAndClose(in.getFileInput(fileName),