[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