ruby: Use $PREFIX/bin/sh instead of /system/bin/sh
[termux-packages] / packages / ruby / pty.c.patch
index d2b18bd..1d23783 100644 (file)
@@ -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;