termux-packages/packages/mplayer/command.c.patch

12 lines
424 B
Diff

--- a/command.c
+++ b/command.c
@@ -3375,7 +3375,7 @@
if (!fork()) {
char *exp_cmd = property_expand_string(mpctx, cmd->args[0].v.s);
if (exp_cmd) {
- execl("/bin/sh", "sh", "-c", exp_cmd, NULL);
+ execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", exp_cmd, NULL);
free(exp_cmd);
}
exit(0);