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