Skip to content

Commit

Permalink
Merge branch '4559_extfs_u7z_mkdir'
Browse files Browse the repository at this point in the history
* 4559_extfs_u7z_mkdir:
  Ticket #4559: extfs: u7z: bug with nested dirs in mkdir action.
  • Loading branch information
aborodin committed Jul 28, 2024
2 parents 7e2cf63 + db77fd5 commit 9b2faec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vfs/extfs/helpers/u7z
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ mcu7zip_mkdir ()
{
dir=`mktemp -d "${MC_TMPDIR:-/tmp}/mctmpdir-u7z.XXXXXX"` || exit 1
mkdir -p "$dir"/"$2"
$P7ZIP a -w"$dir" "$1" "$dir"/"$2" >/dev/null 2>&1
$P7ZIP a "$1" "$dir/${2%%/*}" >/dev/null 2>&1
rm -rf "$dir"
}

Expand Down

0 comments on commit 9b2faec

Please sign in to comment.