|
|
@ -6,7 +6,7 @@ diff -u -r ../zsh-5.0.5/Src/exec.c ./Src/exec.c |
|
|
|
argv[-1] = "sh"; |
|
|
|
winch_unblock(); |
|
|
|
- execve("/bin/sh", argv - 1, newenvp);
|
|
|
|
+ execve("/system/bin/sh", argv - 1, newenvp);
|
|
|
|
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
|
|
|
|
} |
|
|
|
} else if (eno == ENOEXEC) { |
|
|
|
for (t0 = 0; t0 != ct; t0++) |
|
|
@ -15,7 +15,7 @@ diff -u -r ../zsh-5.0.5/Src/exec.c ./Src/exec.c |
|
|
|
argv[-1] = "sh"; |
|
|
|
winch_unblock(); |
|
|
|
- execve("/bin/sh", argv - 1, newenvp);
|
|
|
|
+ execve("/system/bin/sh", argv - 1, newenvp);
|
|
|
|
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
|
|
|
|
} |
|
|
|
} |
|
|
|
} else |
|
|
|