Files
termux-packages/packages/libtsduck/src-libtsduck-base-system-tsForkPipe.cpp.patch
termux-actions[bot] 6603540a61 packages/libtsduck
2022-02-14 16:26:27 +00:00

12 lines
549 B
Diff

--- a/src/libtsduck/base/system/tsForkPipe.cpp
+++ b/src/libtsduck/base/system/tsForkPipe.cpp
@@ -451,7 +451,7 @@
// Execute the command if there was no prior error.
if (message == nullptr) {
- ::execl("/bin/sh", "/bin/sh", "-c", command.toUTF8().c_str(), nullptr);
+ ::execl("@TERMUX_PREFIX@/bin/sh", "@TERMUX_PREFIX@/bin/sh", "-c", command.toUTF8().c_str(), nullptr);
// Should not return, so this is an error if we get there.
error = errno;
message = "exec error";