1From 4421c2e19946dcd651fd8ac022b96627fc526149 Mon Sep 17 00:00:00 2001 2From: Fathi Boudra <fabo@debian.org> 3Date: Wed, 7 Sep 2016 12:58:47 +0300 4Subject: [PATCH] adb: define shell command 5 6we intend to run on Linux system so the shell is always /bin/sh, 7for the host or the target. 8 9Upstream-Status: Inappropriate 10--- 11 adb/services.c | 4 ---- 12 1 file changed, 4 deletions(-) 13 14diff --git a/adb/services.c b/adb/services.c 15index 21b08dc201..d44b0c5068 100644 16--- a/adb/services.c 17+++ b/adb/services.c 18@@ -299,11 +299,7 @@ static int create_subproc_raw(const char *cmd, const char *arg0, const char *arg 19 } 20 #endif /* !ABD_HOST */ 21 22-#if ADB_HOST 23 #define SHELL_COMMAND "/bin/sh" 24-#else 25-#define SHELL_COMMAND "/system/bin/sh" 26-#endif 27 28 #if !ADB_HOST 29 static void subproc_waiter_service(int fd, void *cookie) 30