commit | c28e27574601d19fef8f5556f8fc4573861ad71b | [log] [tgz] |
---|---|---|
author | lh <lh@exm.com> | Wed Mar 20 14:47:26 2024 +0800 |
committer | Gerrit Code Review <jenkins2@jenkins2-Vostro-3690> | Wed Mar 20 14:47:26 2024 +0800 |
tree | 57767ae9801c086c308b0135b8d723e33c3dafd4 | |
parent | ed6fa5a21aedb6015abd4b455ded3a2684e7d5be [diff] | |
parent | 85283579e961f97e0295fab04e9f8ab5b66adebf [diff] |
Merge "[Bugfix][T106BUG-574]fix adb shell XXXX fail"
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-customer/adb-login/files/adb_shell b/cap/zx297520v3/sources/meta-zxic-custom/recipes-customer/adb-login/files/adb_shell index fd7f4cb..e63fdfe 100755 --- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-customer/adb-login/files/adb_shell +++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-customer/adb-login/files/adb_shell
@@ -1,2 +1,6 @@ #!/bin/sh -/bin/sh +if [ $1 = '-c' ];then + /bin/sh -c "$2" +else + /bin/sh +fi
diff --git a/cap/zx297520v3/sources/meta-zxic/recipes-app/adb/adb/adb_shell b/cap/zx297520v3/sources/meta-zxic/recipes-app/adb/adb/adb_shell index fd7f4cb..e63fdfe 100755 --- a/cap/zx297520v3/sources/meta-zxic/recipes-app/adb/adb/adb_shell +++ b/cap/zx297520v3/sources/meta-zxic/recipes-app/adb/adb/adb_shell
@@ -1,2 +1,6 @@ #!/bin/sh -/bin/sh +if [ $1 = '-c' ];then + /bin/sh -c "$2" +else + /bin/sh +fi