Commit 4ccfb48 1 parent d2ce880 commit 4ccfb48 Copy full SHA for 4ccfb48
File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
for i in $* ; do
3
3
box=$( ../me7sum -s $i | grep " Part Number" | sed -e ' s/ //g' | cut -f 2 -d \' )
4
4
ver=$( ../me7sum -s $i | grep " SW Version" | sed -e ' s/ //g' | cut -f 2 -d \' )
5
- ssecu=$( ../me7sum -s $i | grep " SW Number" | sed -e ' s/^1037//' | sed -e ' s/ //g' )
5
+ hw=$( ../me7sum -s $i | grep " HW Number" | sed -e ' s/ //g' | cut -f 2 -d \' )
6
+ ssecu=$( ../me7sum -s $i | grep " SW Number" | sed -e ' s/ //g' | cut -f 2 -d \' | sed -e ' s/^1037/1037-/' )
6
7
7
- if [ -z " $box " -o -z " $ver " -o -z " $ssecu " ]; then
8
- echo $i box=\" $box \" ver=\" $ver \" ssecu=\" $ssecu \" failed >&2
8
+ if [ -z " $box " -o -z " $ver " -o -z " $hw " -o -z " $ ssecu" ]; then
9
+ echo $i box=\" $box \" ver=\" $ver \" hw= \" $hw \" ssecu=\" $ssecu \" failed >&2
9
10
continue
10
11
fi
11
12
@@ -14,6 +15,7 @@ for i in $*; do
14
15
out=$box .bin
15
16
16
17
if [ " $i " = " $out " -o " $i " = " $outl " ]; then
18
+ echo -n " $box $hw -$ssecu $ver : "
17
19
echo $i \( $outl \) ok >&2
18
20
else
19
21
if [ ! -f " $out " ]; then
Original file line number Diff line number Diff line change 13
13
8D0907551D 00 0261206382-1037-350243 0002 6mt EU S4 AGB
14
14
8D0907551E 0261206376-1037-350221 EU S4 512K
15
15
8D0907551G 01 0261206776-1037-360855 6mt EU S4 AZB
16
- 8D0907551N 026120 -1037- 6mt EU S4 AZB
16
+ 8D0907551N 0261207144 -1037-354823 6mt EU S4 AZB
17
17
8D0907551P 026120 -1037- 6mt EU S4 AZB
18
18
19
19
8D0907551F 01 0261206635-1037-354531 6mt EU RS4 ASJ
You can’t perform that action at this time.
0 commit comments