Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-core: Commit

system/core


Commit MetaInfo

Revision577461c881808b4370eece0e23ed2a12d92dfdc0 (tree)
Time2010-03-12 17:26:16
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

mksh: set EXECSHELL to /system/bin/sh to fix the adb install issue

Change Summary

Incremental Difference

--- a/sh/mksh/exec.c
+++ b/sh/mksh/exec.c
@@ -711,7 +711,11 @@ scriptexec(struct op *tp, const char **ap)
711711 if (sh && *sh)
712712 sh = search(sh, path, X_OK, NULL);
713713 if (!sh || !*sh)
714+#ifdef ANDROID
715+ sh = "/system/bin/sh";
716+#else
714717 sh = "/bin/sh";
718+#endif
715719
716720 *tp->args-- = tp->str;
717721
Show on old repository browser