termux-packages/packages/tintin++/src-system.c.patch

13 lines
355 B
Diff

diff -uNr tt/src/system.c tt.mod/src/system.c
--- src/system.c 2019-06-29 19:54:13.000000000 +0300
+++ src/system.c 2019-07-07 16:02:30.850010672 +0300
@@ -66,7 +66,7 @@
case 0:
sprintf(temp, "exec %s", right);
argv[2] = temp;
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
tcgetattr(0, &run_terminal);
break;