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.
22 lines
783 B
22 lines
783 B
7 years ago
|
diff -u -r ../mc-4.8.20/src/usermenu.c ./src/usermenu.c
|
||
|
--- ../mc-4.8.20/src/usermenu.c 2017-11-18 18:45:59.000000000 +0100
|
||
|
+++ ./src/usermenu.c 2017-11-26 23:06:56.100910498 +0100
|
||
|
@@ -449,7 +449,7 @@
|
||
10 years ago
|
return;
|
||
|
}
|
||
|
cmd_file = fdopen (cmd_file_fd, "w");
|
||
|
- fputs ("#! /bin/sh\n", cmd_file);
|
||
9 years ago
|
+ fputs ("#! @TERMUX_PREFIX@/bin/sh\n", cmd_file);
|
||
10 years ago
|
commands++;
|
||
|
|
||
9 years ago
|
for (col = 0; *commands != '\0'; commands++)
|
||
7 years ago
|
@@ -555,7 +555,7 @@
|
||
9 years ago
|
* on no-exec filesystems. */
|
||
|
char *cmd;
|
||
|
|
||
|
- cmd = g_strconcat ("/bin/sh ", vfs_path_as_str (file_name_vpath), (char *) NULL);
|
||
|
+ cmd = g_strconcat ("@TERMUX_PREFIX@/bin/sh ", vfs_path_as_str (file_name_vpath), (char *) NULL);
|
||
|
if (!show_prompt)
|
||
|
{
|
||
|
if (system (cmd) == -1)
|