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

12 lines
338 B
Diff
Raw Normal View History

2021-12-31 18:26:39 +01:00
--- 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