13 lines
397 B
Diff
13 lines
397 B
Diff
diff -u -r ../ruby-2.4.0/ext/pty/pty.c ./ext/pty/pty.c
|
|
--- ../ruby-2.4.0/ext/pty/pty.c 2016-04-29 21:12:52.000000000 -0400
|
|
+++ ./ext/pty/pty.c 2017-01-13 07:15:02.848063672 -0500
|
|
@@ -164,7 +164,7 @@
|
|
char errbuf[32];
|
|
|
|
if (argc == 0) {
|
|
- const char *shellname = "/bin/sh";
|
|
+ const char *shellname = "@TERMUX_PREFIX@/bin/sh";
|
|
|
|
if ((p = getenv("SHELL")) != NULL) {
|
|
shellname = p;
|