From 577cf233eb9a55e1810052be91a36f6fd35c59ba Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 9 Mar 2004 17:36:55 +0000 Subject: [PATCH] Make it possible to ``.undef ${VAR}'' (expanding VAR to get the variable name to undef). Submitted by: Cyrille Lefevre --- usr.bin/make/parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 6be0cb1eeb8..279cf0f5300 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -2393,6 +2393,7 @@ Parse_File(char *name, FILE *stream) *cp2 = '\0'; + cp = Var_Subst(NULL, cp, VAR_CMD, FALSE); Var_Delete(cp, VAR_GLOBAL); goto nextLine; }