From 017ed5c76a1bf2ffced1d6a3449ecf7172ec8543 Mon Sep 17 00:00:00 2001 From: "leozwang@webrtc.org" Date: Tue, 23 Oct 2012 22:24:56 +0000 Subject: [PATCH] Correct adb_shell runtime error on buildbot TBR=kjellander Review URL: https://webrtc-codereview.appspot.com/927004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2977 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/build/adb_shell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/build/adb_shell.sh b/webrtc/build/adb_shell.sh index 0b33d5770d..e2d4f9187e 100755 --- a/webrtc/build/adb_shell.sh +++ b/webrtc/build/adb_shell.sh @@ -15,7 +15,7 @@ adb_shell () { local RET ADB_LOG ADB_LOG=$(mktemp "${TMPDIR:-/tmp}/adb-XXXXXXXX") - adb "$1" shell "$@" ";" echo \$? | tee "$ADB_LOG" + adb "$1" "$2" shell "$3" "$4" ";" echo \$? | tee "$ADB_LOG" sed -i -e 's![[:cntrl:]]!!g' "$ADB_LOG" # Remove \r. RET=$(sed -e '$!d' "$ADB_LOG") # Last line contains status code. rm -f "$ADB_LOG"