mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #3073: urar helper: fix handling filenames with spaces for unrar v5.
Extfs urar helper doesn't allow to see the whole filename if it contains spaces and is unpacked by unrar v5. This commit should fix that. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
931efb4d34
commit
c4a546ac01
@ -49,7 +49,10 @@ flag==1 {
|
||||
else
|
||||
if (index($1, ".") != 0)
|
||||
$1="-rw-r--r--"
|
||||
printf "%s 1 %s %s %d %02d/%02d/%02d %s ./%s\n", $1, uid, gid, $2, a[2], a[1], a[3], $6, $8
|
||||
printf "%s 1 %s %s %d %02d/%02d/%02d %s ./", $1, uid, gid, $2, a[2], a[1], a[3], $6
|
||||
for (i = 8; i < NF; ++i)
|
||||
printf "%s ", $i
|
||||
printf "%s\n", $NF
|
||||
}'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user