Skip to content

Commit

Permalink
Update CreateNewDataFilesCommand.java
Browse files Browse the repository at this point in the history
Fix that unzip problem
  • Loading branch information
PaulBoon authored Apr 3, 2024
1 parent 75a8a74 commit de83c73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public CreateDataFileResult execute(CommandContext ctxt) throws CommandException

if (fileEntryName != null && !fileEntryName.equals("")) {

String shortName = fileEntryName.replaceFirst("^.*[\\/]", "");
String shortName = fileEntryName.replaceFirst("^.*[\\\\/]", "");

// Check if it's a "fake" file - a zip archive entry
// created for a MacOS X filesystem element: (these
Expand Down

0 comments on commit de83c73

Please sign in to comment.