termux-packages/packages/polyml/libpolyml-process_env.cpp.p...

12 lines
338 B
Diff

--- a/libpolyml/process_env.cpp
+++ b/libpolyml/process_env.cpp
@@ -575,7 +575,7 @@
sigemptyset(&sigset);
sigprocmask(SIG_SETMASK, &sigset, 0);
// Reset other signals?
- execv("/bin/sh", argv);
+ execv("@TERMUX_PREFIX@/bin/sh", argv);
_exit(1);
}
#endif