mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
Merge branch '4559_extfs_u7z_mkdir'
* 4559_extfs_u7z_mkdir: Ticket #4559: extfs: u7z: bug with nested dirs in mkdir action.
This commit is contained in:
commit
9b2faec578
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user