From 3d9d1b677422e835772e1fe75c6bb12f91e92b69 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 26 Jan 1999 01:46:07 +0000 Subject: [PATCH] 1999-01-25 Alexander Savelyev * ext.c (exec_extension): Always use /bin/sh. Not the user shell. --- src/ChangeLog | 5 +++++ src/ext.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1cc914238..186b1795a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +1999-01-25 Alexander Savelyev + + * ext.c (exec_extension): Always use /bin/sh. Not the user + shell. + 1999-01-23 Miguel de Icaza * treestore.c (tree_store_remove_entry_remove_hook): Missing diff --git a/src/ext.c b/src/ext.c index 7eb73130c..b4717bb10 100644 --- a/src/ext.c +++ b/src/ext.c @@ -146,7 +146,7 @@ exec_extension (char *filename, char *data, char **drops, int *move_dir, int sta return; } cmd_file = fdopen (cmd_file_fd, "w"); - fprintf (cmd_file, "#!%s\n", shell); + fprintf (cmd_file, "#!/bin/sh\n"); prompt [0] = 0; for (;*data && *data != '\n'; data++){