Leonid Plyushch
7 years ago
committed by
Fredrik Fornwall
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
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) { |
Loading…
Reference in new issue