You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
498 B

diff -uNr nano-2.9.8/src/text.c nano-2.9.8.mod/src/text.c
--- nano-2.9.8/src/text.c 2018-06-02 11:20:07.000000000 +0300
+++ nano-2.9.8.mod/src/text.c 2018-06-19 19:03:48.071389233 +0300
@@ -1147,7 +1147,7 @@
/* Check which shell to use. If none is specified, use /bin/sh. */
shellenv = getenv("SHELL");
if (shellenv == NULL)
- shellenv = (char *) "/bin/sh";
+ shellenv = (char *) "@TERMUX_PREFIX@/bin/sh";
/* Fork a child process to run the command in. */
if ((pid = fork()) == 0) {