0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-28 03:12:38 +00:00
Files
termux-packages/packages/screen/fileio.c.patch
2024-12-22 03:29:59 +02:00

16 lines
410 B
Diff

diff --git a/src/fileio.c b/src/fileio.c
index 75db976..6110b2d 100644
--- a/fileio.c
+++ b/fileio.c
@@ -582,8 +582,8 @@ int printpipe(Window *p, char *cmd)
#ifdef SIGPIPE
xsignal(SIGPIPE, SIG_DFL);
#endif
- execl("/bin/sh", "sh", "-c", cmd, NULL);
- Panic(errno, "/bin/sh");
+ execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", cmd, NULL);
+ Panic(errno, "@TERMUX_PREFIX@/bin/sh");
default:
break;
}