1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 07:29:54 +00:00
termux-packages/packages/php/ext-standard-proc_open.c.patch
its-pointless c07bfc1c64 php: update to 7.4.1 (#4713)
%ci:reset-backlog
2019-12-30 02:17:09 +02:00

15 lines
521 B
Diff

--- ext/standard/proc_open.c.orig 2019-12-28 22:27:36.923774794 +0000
+++ ./ext/standard/proc_open.c 2019-12-28 22:28:31.914719970 +0000
@@ -1048,9 +1048,9 @@
execvp(command, argv);
} else {
if (env.envarray) {
- execle("/bin/sh", "sh", "-c", command, NULL, env.envarray);
+ execle("@TERMUX_PREFIX@/bin/sh", "sh", "-c", command, NULL, env.envarray);
} else {
- execl("/bin/sh", "sh", "-c", command, NULL);
+ execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", command, NULL);
}
}
_exit(127);