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

14 lines
312 B
Diff
Raw Normal View History

2022-02-22 16:24:03 +01:00
--- a/fileio.c
+++ b/fileio.c
@@ -731,8 +731,8 @@
#ifdef SIGPIPE
2022-02-22 16:24:03 +01:00
signal(SIGPIPE, SIG_DFL);
#endif
2022-02-22 16:24:03 +01:00
- 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;
}