Merge branch '3073_urar5_spaces'

* 3073_urar5_spaces:
  Ticket #3073: urar helper: fix handling filenames with spaces for unrar v5.
This commit is contained in:
Andrew Borodin 2013-10-01 16:35:01 +04:00
commit d87bef778b

View File

@ -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
}'
}