wok diff lzma/stuff/lzma @ rev 20741

barnyard2: added build dependency libtool
author Hans-G?nter Theisgen
date Sun Feb 10 09:22:29 2019 +0100 (2019-02-10)
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	Sun Feb 10 09:22:29 2019 +0100
     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