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

13 lines
355 B
Diff
Raw Normal View History

2019-07-07 15:02:55 +02:00
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 @@
2018-08-07 15:06:39 +02:00
case 0:
sprintf(temp, "exec %s", right);
argv[2] = temp;
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
2019-07-07 15:02:55 +02:00
tcgetattr(0, &run_terminal);
2018-08-07 15:06:39 +02:00
break;