summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/define-shell-command.patch
blob: 8381967c442cdd0b8dbb270c375d9976b6ff81ac (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
---
 system/core/adb/services.c |    4 ----
 1 file changed, 4 deletions(-)

--- a/system/core/adb/services.c
+++ b/system/core/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)
OpenPOWER on IntegriCloud