aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2018-06-28 09:18:42 +0000
committerLinaro Code Review <review@review.linaro.org>2018-06-28 09:18:42 +0000
commit0a9d1e405e4574167fec12256ae21f7b0f57131d (patch)
treec3f83cae4028ad6ee86a56d22f6fa277368975d4
parent3e244144e2a6a1a6a923a070b98472fdda0eab46 (diff)
parentb99e14d88ed055b1668dd63d3a86cb0a7fea16dd (diff)
Merge "boottime/device-script.sh: specify -F when search "(""
-rwxr-xr-xautomated/android/boottime/device-script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/android/boottime/device-script.sh b/automated/android/boottime/device-script.sh
index d2d74d7d..00c7be9f 100755
--- a/automated/android/boottime/device-script.sh
+++ b/automated/android/boottime/device-script.sh
@@ -346,7 +346,7 @@ getBootTimeInfoFromDmesg(){
## use the last one line, and report the case later after checked all the logs
SURFACEFLINGER_BOOT_TIME_INFO=$(grep "Boot is finished" "${LOG_LOGCAT_ALL}"|tail -n1)
if [ -n "${SURFACEFLINGER_BOOT_TIME_INFO}" ]; then
- while echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|grep -q "("; do
+ while echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|grep -q -F "("; do
SURFACEFLINGER_BOOT_TIME_INFO=$(echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|cut -d\( -f2-)
done
SURFACEFLINGER_BOOT_TIME_MS=$(echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|cut -d\ -f1)