termux-packages/packages/polyml/libpolyml-process_env.cpp.patch
2022-01-05 17:15:03 +02:00

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