chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / gnuit / system.c.patch
1 --- ../cache/gnuit-4.9.5/src/system.c   2009-02-18 02:31:26.000000000 +0000
2 +++ ./src/system.c      2017-05-31 02:32:44.499460109 +0000
3 @@ -162,7 +162,7 @@
4                 close(0);
5         }
6  
7 -       execle("/bin/sh", "sh", "-c", command, (char *)NULL, environ);
8 +       execle("/data/data/com.termux/files/usr/bin/sh", "sh", "-c", command, (char *)NULL, environ);
9  
10         /* Make sure we exit if exec() fails.  Call _exit() instead of
11            exit() to avoid flushing file descriptors twice (in the