adb shell escaping different from original Google version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
android-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The parsing of the parameters to "adb shell" is different between the Ubuntu version and the original Google version. This change breaks all scripts that rely on the (weird) escaping of the original version.
Examples:
Behavior of Ubuntu version:
$ /usr/bin/adb shell echo "'hi'"
'hi'
Behavior of Google version (expected):
$ /opt/adt/
hi
Versions:
$ /usr/bin/adb -v
Android Debug Bridge version 1.0.32
$ /opt/adt/
Android Debug Bridge version 1.0.32
Revision 09a0d98bebce-
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
$ apt-cache policy android-tools-adb
android-tools-adb:
Installed: 5.1.1r36+
Candidate: 5.1.1r36+
Version Table:
*** 5.1.1r36+
500 http://
100 /var/lib/