mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* user.c (execute_menu_command): Put /bin/sh in the beginning of
the script.
This commit is contained in:
parent
a8261b28d6
commit
9fe5ee23c9
@ -1,3 +1,8 @@
|
||||
2004-01-23 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* user.c (execute_menu_command): Put /bin/sh in the beginning of
|
||||
the script.
|
||||
|
||||
2004-01-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* screen.c (display_mini_info): Correctly fill the space after
|
||||
|
@ -568,6 +568,7 @@ execute_menu_command (WEdit *edit_widget, const char *commands)
|
||||
return;
|
||||
}
|
||||
cmd_file = fdopen (cmd_file_fd, "w");
|
||||
fputs ("#! /bin/sh\n", cmd_file);
|
||||
commands++;
|
||||
|
||||
for (col = 0; *commands; commands++){
|
||||
|
Loading…
Reference in New Issue
Block a user