termux-packages/packages/screen/fileio.c.patch

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;
}