commit | 85283579e961f97e0295fab04e9f8ab5b66adebf | [log] [tgz] |
---|---|---|
author | xf.li <xf.li@mobiletek.cn> | Tue Mar 19 23:21:20 2024 -0700 |
committer | xf.li <xf.li@mobiletek.cn> | Tue Mar 19 23:21:20 2024 -0700 |
tree | c04877d4fca3a26c720f8ab046d47355feec6ad0 | |
parent | cd8e69d6481e095afdc00643bc15103262d6db5e [diff] |
[Bugfix][T106BUG-574]fix adb shell XXXX fail Only Configure: No Affected branch: master Affected module: adb Is it affected on both ZXIC and MTK: only ZXIC Self-test: Yes Doc Update: No Change-Id: I48906eb08b2cd789bbcde62f02ff8c46c4278913
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