summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-05-04 22:37:19 +0000
committerRoland McGrath <roland@redhat.com>1992-05-04 22:37:19 +0000
commit207db3747f92b9e28a979802fef68eb07e3c677a (patch)
treeeb90d7e05dab72ee4d5cc261e0fb5202161b5e93 /read.c
parenta3bd6fa73fdee866963590fbd528f3ca0f7245a9 (diff)
downloadgunmake-207db3747f92b9e28a979802fef68eb07e3c677a.tar.gz
Formerly read.c.~30~
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/read.c b/read.c
index 0b60f77..eb35100 100644
--- 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))
{