Ticket #3122: iso9660.patch

File iso9660.patch, 566 bytes (added by holbru, 9 years ago)

iso9660 patch for xorriso

  • iso9660

    old new  
    4444    while read attr ln usr gr sz dt1 dt2 dt3 nm ; do 
    4545        len=$((${#nm} - 1)) 
    4646        name=$(printf "$nm" | cut -c2-$len)  # remove quotes 
    47         if test $(printf "$nm" | cut -c1-2) != "d"; then 
     47        if test $(printf "%s" "$attr" | cut -c1) != "d"; then 
    4848            printf "%s %s %s %s %s %s %s %s %s/%s\n" "$attr" "$ln" "$usr" "$gr" "$sz" "$dt1" "$dt2" "$dt3" "$dir" "$name" 
    4949        else 
    5050            xorriso_list "$1" "$dir/$name"