2018-06-04 00:57:46 +02:00
|
|
|
diff -u -r ../mc-4.8.21/src/usermenu.c ./src/usermenu.c
|
|
|
|
--- ../mc-4.8.21/src/usermenu.c 2018-05-27 19:56:21.000000000 +0000
|
|
|
|
+++ ./src/usermenu.c 2018-06-03 22:55:09.086449615 +0000
|
|
|
|
@@ -450,7 +450,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|
2018-06-04 00:57:46 +02:00
|
|
|
|
2015-06-13 01:03:31 +02:00
|
|
|
cmd_file = fdopen (cmd_file_fd, "w");
|
|
|
|
- fputs ("#! /bin/sh\n", cmd_file);
|
2015-12-02 11:58:47 +01:00
|
|
|
+ fputs ("#! @TERMUX_PREFIX@/bin/sh\n", cmd_file);
|
2015-06-13 01:03:31 +02:00
|
|
|
commands++;
|
|
|
|
|
2016-03-15 02:06:35 +01:00
|
|
|
for (col = 0; *commands != '\0'; commands++)
|
2017-11-26 23:15:39 +01:00
|
|
|
@@ -555,7 +555,7 @@
|
2016-03-15 02:06:35 +01:00
|
|
|
* 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);
|
2018-06-04 00:57:46 +02:00
|
|
|
|
|
|
|
if (show_prompt)
|
|
|
|
shell_execute (cmd, EXECUTE_HIDE);
|