]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly variable.c.~15~
authorRoland McGrath <roland@redhat.com>
Wed, 13 Jan 1993 21:09:20 +0000 (21:09 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 13 Jan 1993 21:09:20 +0000 (21:09 +0000)
variable.c

index 181b76d36004d67fac8f054e100efb4e2d83d8d5..07295503da365f4433f3448527e46c66315bf3ed 100644 (file)
@@ -1,5 +1,5 @@
 /* Internals of variables for GNU Make.
-Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
 This file is part of GNU Make.
 
 GNU Make is free software; you can redistribute it and/or modify
@@ -358,7 +358,7 @@ define_automatic_variables ()
   v->export = v_export;
 
   /* Don't let SHELL come from the environment.  */
-  if (*v->value == '\0' || (v->origin == o_env))
+  if (*v->value == '\0' || v->origin == o_env || v->origin == o_env_override)
     {
       free (v->value);
       v->origin = o_file;