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.
21 lines
769 B
21 lines
769 B
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 @@
|
|
}
|
|
|
|
cmd_file = fdopen (cmd_file_fd, "w");
|
|
- fputs ("#! /bin/sh\n", cmd_file);
|
|
+ fputs ("#! @TERMUX_PREFIX@/bin/sh\n", cmd_file);
|
|
commands++;
|
|
|
|
for (col = 0; *commands != '\0'; commands++)
|
|
@@ -555,7 +555,7 @@
|
|
* 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)
|
|
shell_execute (cmd, EXECUTE_HIDE);
|
|
|