termux-packages/packages/screen/fileio.c.patch
2022-02-22 23:57:56 +05:30

14 lines
312 B
Diff

--- a/fileio.c
+++ b/fileio.c
@@ -731,8 +731,8 @@
#ifdef SIGPIPE
signal(SIGPIPE, SIG_DFL);
#endif
- execl("/bin/sh", "sh", "-c", cmd, (char *)0);
- Panic(errno, "/bin/sh");
+ execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", cmd, (char *)0);
+ Panic(errno, "@TERMUX_PREFIX@/bin/sh");
default:
break;
}