termux-packages/packages/tintin++/src-system.c.patch
Richard de Boer 02c9cf400a tintin++: Update from 2.01.91 to 2.01.92
Also fix license field: TinTin++ 2.01.8 switched from GPL-2.0 to GPL-3.0
2019-11-13 23:25:32 +01:00

13 lines
333 B
Diff

diff -uNr tt/src/system.c tt.mod/src/system.c
--- src/system.c 2019-11-03 01:01:58.000000000 +0100
+++ src/system.c 2019-11-13 23:17:14.053972425 +0100
@@ -73,7 +73,7 @@
case 0:
sprintf(temp, "exec %s", arg2);
argv[2] = temp;
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
break;
default: