aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-10-20 13:01:46 +0100
committerRon Yorston <rmy@pobox.com>2022-10-20 13:10:24 +0100
commitcafbc0d09cac98323b41ed546ce7315b9ba4b6a0 (patch)
tree90fade489406dd71e9fd96f5b669be8333311341
parent81d36c8a293192acb942878dd95a7d862fcbed19 (diff)
downloadbusybox-w32-cafbc0d09cac98323b41ed546ce7315b9ba4b6a0.tar.gz
busybox-w32-cafbc0d09cac98323b41ed546ce7315b9ba4b6a0.tar.bz2
busybox-w32-cafbc0d09cac98323b41ed546ce7315b9ba4b6a0.zip
make: $+ should support D/F modifiers
The code to handle the modifiers for 'directory part' and 'filename part' has been updated to support the $+ internal macro.
-rw-r--r--miscutils/make.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/miscutils/make.c b/miscutils/make.c
index f50ffbbef..49d10f5f5 100644
--- a/miscutils/make.c
+++ b/miscutils/make.c
@@ -1051,6 +1051,7 @@ expand_macros(const char *str, int except_dollar)
1051 modifier = '\0'; 1051 modifier = '\0';
1052 switch (name[0]) { 1052 switch (name[0]) {
1053 case '^': 1053 case '^':
1054 case '+':
1054 if (posix) 1055 if (posix)
1055 break; 1056 break;
1056 // fall through 1057 // fall through