wok-current diff memtest/stuff/pack @ rev 14168
opencore-amr: fix MAINTAINER
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 08 11:32:57 2013 +0100 (2013-03-08) |
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 Fri Mar 08 11:32:57 2013 +0100 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