Fix regression in adb_*_command_line commands caused by c481d677
The "cut" should run on the host rather than the client. Android M preview includes "cut", so this slipped through :S. BUG=493878 Review URL: https://codereview.chromium.org/1153343007 Cr-Original-Commit-Position: refs/heads/master@{#332544} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 7ce7cf307644d8309740a204689c6642f2153e2b
This commit is contained in:
Родитель
a9e509cbc6
Коммит
372d9fd4f3
|
@ -24,7 +24,7 @@ function set_command_line() {
|
|||
|
||||
if [ $# -eq 0 ] ; then
|
||||
# If nothing specified, print the command line (stripping off "chrome ")
|
||||
adb shell "cat $CMD_LINE_FILE 2>/dev/null | cut -d ' ' -s -f2-"
|
||||
adb shell "cat $CMD_LINE_FILE 2>/dev/null" | cut -d ' ' -s -f2-
|
||||
elif [ $# -eq 1 ] && [ "$1" = '' ] ; then
|
||||
# If given an empty string, delete the command line.
|
||||
set -x
|
||||
|
|
Загрузка…
Ссылка в новой задаче