wok diff lzma/stuff/lzma @ rev 10777

yaff: fix path to files (again)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 00:26:48 2011 +0200 (2011-06-01)
parents 885c330a75ba
children
line diff
     1.1 --- a/lzma/stuff/lzma	Sat Mar 19 12:43:20 2011 +0100
     1.2 +++ b/lzma/stuff/lzma	Wed Jun 01 00:26:48 2011 +0200
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  case "$1" in
     1.6  d|e|b) exec /usr/bin/lzma-alone $@;;
     1.7 ---size) size=$(dd if=$2 bs=1 skip=5 count=8 2> /dev/null | od -t d8 | awk '{ print $2; exit }') 
     1.8 +--size) size=$(od -t d8 -j5 -N8 < $2 | awk '{ print $2; exit }') 
     1.9  	if [ $size -eq -1 ]; then
    1.10  		size=$(unlzma -c $2 | wc -c)
    1.11  		n=$size