termux-packages/packages/gnuit/system.c.patch
2017-06-06 10:18:11 +02:00

12 lines
457 B
Diff

--- ../cache/gnuit-4.9.5/src/system.c 2009-02-18 02:31:26.000000000 +0000
+++ ./src/system.c 2017-05-31 02:32:44.499460109 +0000
@@ -162,7 +162,7 @@
close(0);
}
- execle("/bin/sh", "sh", "-c", command, (char *)NULL, environ);
+ execle("/data/data/com.termux/files/usr/bin/sh", "sh", "-c", command, (char *)NULL, environ);
/* Make sure we exit if exec() fails. Call _exit() instead of
exit() to avoid flushing file descriptors twice (in the