diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-16 02:25:03 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-16 02:25:03 +0000 |
commit | a3cf773e296968870eaa76d45323690d14d9b44e (patch) | |
tree | 81bdb5281ca81831c7dc268d903b4a28406df3d9 /variable.c | |
parent | 9d89ad56bf74b22471617ed99f9e6e6272efba22 (diff) | |
download | gunmake-a3cf773e296968870eaa76d45323690d14d9b44e.tar.gz |
* Various bug fixes.
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -850,7 +850,7 @@ try_variable_definition (flocp, line, origin) you have bash.exe installed as d:/unix/bash.exe, and d:/unix is on your $PATH, then SHELL=/usr/local/bin/bash will have the effect of defining SHELL to be "d:/unix/bash.exe". */ - if (origin == o_file + if ((origin == o_file || origin == o_override) && strcmp (expanded_name, "SHELL") == 0) { char shellpath[PATH_MAX]; @@ -918,7 +918,7 @@ try_variable_definition (flocp, line, origin) else #endif /* __MSDOS__ */ #ifdef WINDOWS32 - if (origin == o_file + if ((origin == o_file || origin == o_override) && strcmp (expanded_name, "SHELL") == 0) { extern char* default_shell; |