aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/android-tools/android-tools/define-shell-command.patch
blob: 64edd0d1199eae71c8e4c3a1b7e058e70f64738f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: we intend to run on Linux system so the shell is always /bin/sh,
             for the host or the target.
Author: Fathi Boudra <fabo@debian.org>

Upstream-Status: Inappropriate
---
 adb/services.c |    4 ----
 1 file changed, 4 deletions(-)

--- a/adb/services.c
+++ b/adb/services.c
@@ -299,11 +299,7 @@ static int create_subproc_raw(const char
 }
 #endif  /* !ABD_HOST */
 
-#if ADB_HOST
 #define SHELL_COMMAND "/bin/sh"
-#else
-#define SHELL_COMMAND "/system/bin/sh"
-#endif
 
 #if !ADB_HOST
 static void subproc_waiter_service(int fd, void *cookie)