summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c5cd95)
raw | patch | inline | side by side (parent: 4c5cd95)
author | Vishal Mahaveer <vishalm@ti.com> | |
Tue, 28 Jun 2016 02:25:19 +0000 (22:25 -0400) | ||
committer | Vishal Mahaveer <vishalm@ti.com> | |
Tue, 28 Jun 2016 02:25:19 +0000 (22:25 -0400) |
Update script to use only first character of board rev.
Some boards have revision set as "H.0"
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Some boards have revision set as "H.0"
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
fastboot.sh | patch | blob | history |
diff --git a/fastboot.sh b/fastboot.sh
index 93477181937f6578a1504c8869a8fb21a627a7ae..18a68d32baa36dbe787a9187dd5899c1036cc63f 100755 (executable)
--- a/fastboot.sh
+++ b/fastboot.sh
#product=`${FASTBOOT} getvar product 2>&1 | grep product | awk '{print$2}'`
cpu=`${FASTBOOT} getvar cpu 2>&1 | grep cpu | awk '{print$2}'`
cputype=`${FASTBOOT} getvar secure 2>&1 | grep secure | awk '{print$2}'`
-boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}'`
+boardrev=`${FASTBOOT} getvar board_rev 2>&1 | grep board_rev | awk '{print$2}' | cut -b 1`
# Make EMU = HS