| 1 | diff -u -r ../php-5.6.17/ext/standard/proc_open.c ./ext/standard/proc_open.c > ~/php-proc_open.patch |
| 2 | --- ../php-5.6.17/ext/standard/proc_open.c 2016-03-04 18:41:21.108197300 +0100 |
| 3 | +++ ./ext/standard/proc_open.c 2016-03-04 18:41:58.088196534 +0100 |
| 4 | @@ -881,9 +881,9 @@ |
| 5 | } |
| 6 | |
| 7 | if (env.envarray) { |
| 8 | - execle("/bin/sh", "sh", "-c", command, NULL, env.envarray); |
| 9 | + execle("@TERMUX_PREFIX@/bin/sh", "sh", "-c", command, NULL, env.envarray); |
| 10 | } else { |
| 11 | - execl("/bin/sh", "sh", "-c", command, NULL); |
| 12 | + execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", command, NULL); |
| 13 | } |
| 14 | _exit(127); |
| 15 | |