termux-packages/packages/ruby/pty.c.patch

13 lines
391 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
diff -u -r ../ruby-2.1.2/ext/pty/pty.c ./ext/pty/pty.c
--- ../ruby-2.1.2/ext/pty/pty.c 2014-02-10 12:45:14.000000000 +0100
+++ ./ext/pty/pty.c 2014-06-27 02:17:31.936710571 +0200
@@ -174,7 +174,7 @@
if (pwent && pwent->pw_shell)
shellname = pwent->pw_shell;
else
- shellname = "/bin/sh";
+ shellname = "@TERMUX_PREFIX@/bin/sh";
2015-06-13 01:03:31 +02:00
}
v = rb_str_new2(shellname);
argc = 1;