termux-packages/packages/zsh/Src-exec.c.patch

13 lines
372 B
Diff
Raw Normal View History

2018-09-04 23:43:25 +02:00
diff -u -r ../zsh-5.6/Src/exec.c ./Src/exec.c
--- ../zsh-5.6/Src/exec.c 2018-09-03 14:58:01.000000000 +0000
+++ ./Src/exec.c 2018-09-04 21:31:29.499488209 +0000
@@ -553,7 +553,7 @@
2017-07-21 01:08:32 +02:00
if (t0 == ct) {
argv[-1] = "sh";
winch_unblock();
- execve("/bin/sh", argv - 1, newenvp);
+ execve("@TERMUX_PREFIX@/bin/sh", argv - 1, newenvp);
}
}
} else