chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
toilet: Switch to mirror for downloading source
[termux-packages]
/
packages
/
ruby
/
pty.c.patch
diff --git
a/packages/ruby/pty.c.patch
b/packages/ruby/pty.c.patch
index d2b18bd8b3dfc75cff34f03588f0eb02bd099696..1d23783cb25d898fd0bbf54bf8c5b45d1a806abd 100644
(file)
--- a/
packages/ruby/pty.c.patch
+++ b/
packages/ruby/pty.c.patch
@@
-6,7
+6,7
@@
diff -u -r ../ruby-2.1.2/ext/pty/pty.c ./ext/pty/pty.c
shellname = pwent->pw_shell;
else
- shellname = "/bin/sh";
-+ shellname = "
/system
/bin/sh";
++ shellname = "
@TERMUX_PREFIX@
/bin/sh";
}
v = rb_str_new2(shellname);
argc = 1;