wok diff lzma/stuff/lzma @ rev 24986
Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed May 11 08:28:28 2022 -0400 (2022-05-11) |
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 May 11 08:28:28 2022 -0400 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