termux-packages/packages/gdb/fork_child_bin_sh.patch

12 lines
396 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
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"
2015-06-13 01:03:31 +02:00
extern char **environ;