From: Roland McGrath Date: Mon, 4 May 1992 22:37:19 +0000 (+0000) Subject: Formerly read.c.~30~ X-Git-Tag: 3.70.2~792 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=207db3747f92b9e28a979802fef68eb07e3c677a;p=thirdparty%2Fmake.git Formerly read.c.~30~ --- diff --git a/read.c b/read.c index 0b60f77a..eb351002 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)) {