Ticket #3122: iso9660.diff

File iso9660.diff, 651 bytes (added by holbru, 11 years ago)
  • iso9660

    old new  
    4040    fi 
    4141    local dir attr ln usr gr sz dt1 dt2 dt3 nm len name lsl r 
    4242    dir="${2:-/}" 
    43     lsl=$($XORRISO -abort_on FATAL -dev stdio:"$1" -cd "$dir" -lsl 2> /dev/null )  
     43    lsl=$($XORRISO -abort_on FATAL -dev stdio:"$1" -cd "$dir" -lsl 2> /dev/null | /bin/grep "^[-d]" )  
    4444    r=$?  
    4545    test $r -gt 0 && return $r  
    4646 
    47     echo "$lsl" | /bin/grep "^[-d]" | \ 
     47    echo "$lsl" | 
    4848    while read attr ln usr gr sz dt1 dt2 dt3 nm ; do 
    4949        len=$((${#nm} - 1)) 
    5050        name=$(printf -- "$nm" | cut -c2-$len)  # remove quotes