Formerly variable.c.~12~

This commit is contained in:
Roland McGrath 1992-10-23 19:57:55 +00:00
parent b45d1ae3c2
commit a485ade084

View file

@ -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);
} }