summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r--usr.bin/make/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 12cd4f5..f219831 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -1599,7 +1599,7 @@ Var_Parse (str, ctxt, err, lengthPtr, freePtr)
vname[1] = '\0';
v = VarFind(vname, ctxt, 0);
- if (v != (Var *)NULL) {
+ if (v != (Var *)NULL && !haveModifier) {
/*
* No need for nested expansion or anything, as we're
* the only one who sets these things and we sure don't
OpenPOWER on IntegriCloud