Skip to content

Commit

Permalink
devonfw#799: fix zip extraction to preserve file attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Dec 5, 2024
1 parent ebbf95e commit f0fde1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public void copy(Path source, Path target, FileCopyMode mode, PathCopyListener l
// Therefore we need to add the filename (foldername) of "source" to the "target" path before.
// For the rare cases, where we want to copy the content of a folder (cp -r source/* target) we support
// it via the COPY_TREE_CONTENT mode.
target = target.resolve(source.getFileName());
target = target.resolve(source.getFileName().toString());
}
boolean fileOnly = mode.isFileOnly();
String operation = mode.getOperation();
Expand Down

0 comments on commit f0fde1c

Please sign in to comment.