wok-6.x diff memtest/stuff/pack @ rev 13926

libbfd: up same version as binutils, 2.23.1
author ernia <monghitri@aruba.it>
date Sat Jan 26 02:19:21 2013 +0000 (2013-01-26)
parents e76c37f7bfe6
children 8d9ce0de31e0
line diff
     1.1 --- a/memtest/stuff/pack	Sun Aug 26 11:33:29 2012 +0200
     1.2 +++ b/memtest/stuff/pack	Sat Jan 26 02:19:21 2013 +0000
     1.3 @@ -5,8 +5,8 @@
     1.4  $(gzip -9 < $bin | uuencode -m -)
     1.5  EOT
     1.6  EOM
     1.7 -	getip=0x$(grep getip ${bin/.bin/.lst} | sed '$!d;s/.*t:\([^ ]*\).*/\1/')
     1.8 -	sed -i "s/XXX/$((515+$getip))/" $0
     1.9 +	getip=$(grep -s getip ${bin/.bin/.lst}|sed '$!d;s/.*t:\([^ ]*\).*/\1/')
    1.10 +	sed -i "s/XXX/$((515+0x${getip:-5}))/" $0
    1.11  	sed -i '/--build/,/^fi/d' $0
    1.12  	exit
    1.13  fi