You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
650 B

diff -u -r ../zsh-5.0.5/Src/exec.c ./Src/exec.c
--- ../zsh-5.0.5/Src/exec.c 2014-01-02 18:34:49.000000000 +0100
+++ ./Src/exec.c 2014-02-03 02:51:11.000000000 +0100
@@ -508,7 +508,7 @@
} else if (eno == ENOEXEC) {
argv[-1] = "sh";
winch_unblock();
- execve("/bin/sh", argv - 1, newenvp);
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
}
} else if (eno == ENOEXEC) {
for (t0 = 0; t0 != ct; t0++)
@@ -517,7 +517,7 @@
if (t0 == ct) {
argv[-1] = "sh";
winch_unblock();
- execve("/bin/sh", argv - 1, newenvp);
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
}
}
} else