termux-packages/packages/gdb/fork_child_bin_sh.patch
2015-07-11 20:11:50 -04:00

12 lines
396 B
Diff

diff -u -r ../gdb-7.6.2/gdb/fork-child.c ./gdb/fork-child.c
--- ../gdb-7.6.2/gdb/fork-child.c 2013-12-08 05:33:13.000000000 +0100
+++ ./gdb/fork-child.c 2014-01-07 16:43:01.862311352 +0100
@@ -36,7 +36,7 @@
#include <signal.h>
/* This just gets used as a default if we can't find SHELL. */
-#define SHELL_FILE "/bin/sh"
+#define SHELL_FILE "@TERMUX_PREFIX@/bin/sh"
extern char **environ;