]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly read.c.~30~
authorRoland McGrath <roland@redhat.com>
Mon, 4 May 1992 22:37:19 +0000 (22:37 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 4 May 1992 22:37:19 +0000 (22:37 +0000)
read.c

diff --git a/read.c b/read.c
index 0b60f77aaf51d053b33ad01f6a6b68ed95b46f90..eb35100295a8ea3aa678ee8b8e6aa873542ecd13 100644 (file)
--- a/read.c
+++ b/read.c
@@ -417,6 +417,8 @@ read_makefile (filename, type)
        {
          struct variable *v;
          p2 = next_token (p + 6);
+         if (*p2 == '\0')
+           export_all_variables = 1;
          v = try_variable_definition (p2, o_file);
          if (v != 0)
            v->export = 1;
@@ -438,6 +440,8 @@ read_makefile (filename, type)
          unsigned int len;
          struct variable *v;
          p2 = next_token (p + 8);
+         if (*p2 == '\0')
+           export_all_variables = 0;
          for (p = find_next_token (&p2, &len); p != 0;
               p = find_next_token (&p2, &len))
            {