wok-next diff memtest/stuff/pack @ rev 19390

dropbear: revert to previous EOT redirect
author Richard Dunbar <mojo@slitaz.org>
date Wed Aug 24 18:11:12 2016 -0400 (2016-08-24)
parents 99c5dab1a371
children 3b334b26197f
line diff
     1.1 --- a/memtest/stuff/pack	Tue Oct 14 22:40:53 2014 +0200
     1.2 +++ b/memtest/stuff/pack	Wed Aug 24 18:11:12 2016 -0400
     1.3 @@ -10,7 +10,7 @@
     1.4  	helpmsg=$(sed '/helpmsg:/!d{n;s/ [0-9]* \([^ ]*\).*/\1/}' ${1/.bin/.lst} | sed '$!d')
     1.5  	helpend=$(sed '/helpend:/!d{n;s/ [0-9]* \([^ ]*\).*/\1/}' ${1/.bin/.lst} | sed '$!d')
     1.6  	sed -i "s/YYY/$((0x$helpmsg))/" $0
     1.7 -	sed -i "s/ZZZ/$((0x$helpend-0x$helpmsg))/" $0
     1.8 +	sed -i "s/ZZZ/$((0x$helpend-0x$helpmsg-1))/" $0
     1.9  	cat >> $0 <<EOM
    1.10  $(dd if=$1 bs=512 count=1 conv=sync | cat - $2 | gzip -9 | uuencode -m -)
    1.11  EOT