Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 9b2faec

Browse files
committed
Merge branch '4559_extfs_u7z_mkdir'
* 4559_extfs_u7z_mkdir: Ticket #4559: extfs: u7z: bug with nested dirs in mkdir action.
2 parents 7e2cf63 + db77fd5 commit 9b2faec

File tree

1 file changed

+1
-1
lines changed
  • src/vfs/extfs/helpers

1 file changed

+1
-1
lines changed

src/vfs/extfs/helpers/u7z

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ mcu7zip_mkdir ()
8686
{
8787
dir=`mktemp -d "${MC_TMPDIR:-/tmp}/mctmpdir-u7z.XXXXXX"` || exit 1
8888
mkdir -p "$dir"/"$2"
89-
$P7ZIP a -w"$dir" "$1" "$dir"/"$2" >/dev/null 2>&1
89+
$P7ZIP a "$1" "$dir/${2%%/*}" >/dev/null 2>&1
9090
rm -rf "$dir"
9191
}
9292

0 commit comments

Comments
 (0)