system/corennnnn
Revision | 577461c881808b4370eece0e23ed2a12d92dfdc0 (tree) |
---|---|
Time | 2010-03-12 17:26:16 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
mksh: set EXECSHELL to /system/bin/sh to fix the adb install issue
@@ -711,7 +711,11 @@ scriptexec(struct op *tp, const char **ap) | ||
711 | 711 | if (sh && *sh) |
712 | 712 | sh = search(sh, path, X_OK, NULL); |
713 | 713 | if (!sh || !*sh) |
714 | +#ifdef ANDROID | |
715 | + sh = "/system/bin/sh"; | |
716 | +#else | |
714 | 717 | sh = "/bin/sh"; |
718 | +#endif | |
715 | 719 | |
716 | 720 | *tp->args-- = tp->str; |
717 | 721 |