mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-29 08:09:02 +00:00
Formerly variable.c.~12~
This commit is contained in:
parent
b45d1ae3c2
commit
a485ade084
1 changed files with 1 additions and 0 deletions
|
@ -360,6 +360,7 @@ define_automatic_variables ()
|
||||||
/* Don't let SHELL come from the environment. */
|
/* Don't let SHELL come from the environment. */
|
||||||
if (*v->value == '\0' || (v->origin == o_env))
|
if (*v->value == '\0' || (v->origin == o_env))
|
||||||
{
|
{
|
||||||
|
free (v->value);
|
||||||
v->origin = o_file;
|
v->origin = o_file;
|
||||||
v->value = savestring (default_shell, 7);
|
v->value = savestring (default_shell, 7);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue