diff --git a/src/ChangeLog b/src/ChangeLog index 7e8bfc528..ffba7af67 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-01-23 Andrew V. Samoilov + + * user.c (execute_menu_command): Put /bin/sh in the beginning of + the script. + 2004-01-22 Pavel Roskin * screen.c (display_mini_info): Correctly fill the space after diff --git a/src/user.c b/src/user.c index b3890c515..932ce9b23 100644 --- a/src/user.c +++ b/src/user.c @@ -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++){