From afc4906acaeb7191e4ec085d7be4ca5b036b821d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 8 Mar 2006 20:15:08 +0000 Subject: Some test updates for Windows. Handle SHELL set on the command line properly for windows. --- variable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index 54bbc02..f23f7d1 100644 --- a/variable.c +++ b/variable.c @@ -1168,7 +1168,8 @@ do_variable_definition (const struct floc *flocp, const char *varname, else #endif /* __MSDOS__ */ #ifdef WINDOWS32 - if ((origin == o_file || origin == o_override) && streq (varname, "SHELL")) + if ((origin == o_file || origin == o_override || origin == o_command) + && streq (varname, "SHELL")) { extern char *default_shell; -- cgit v1.2.3