termux-packages/packages/tintin++/src-system.c.patch
2021-11-12 15:03:18 +05:30

13 lines
333 B
Diff

diff -uNr tt/src/system.c tt.mod/src/system.c
--- src/system.c 2021-08-30 19:02:18.000000000 +0100
+++ src/system.c 2021-11-12 09:28:43.000000000 +0100
@@ -75,7 +75,7 @@
case 0:
sprintf(temp, "exec %s", arg2);
argv[2] = temp;
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
break;
default: