termux-packages/packages/boost/boost-process-detail-posix-shell_path.hpp.patch
2022-02-09 09:10:06 +09:00

19 lines
388 B
Diff

--- a/boost/process/detail/posix/shell_path.hpp
+++ b/boost/process/detail/posix/shell_path.hpp
@@ -18,13 +18,13 @@
inline boost::filesystem::path shell_path()
{
- return "/bin/sh";
+ return "@TERMUX_PREFIX@/bin/sh";
}
inline boost::filesystem::path shell_path(std::error_code &ec)
{
ec.clear();
- return "/bin/sh";
+ return "@TERMUX_PREFIX@/bin/sh";
}
}}}}