summaryrefslogtreecommitdiff
path: root/solenv/gbuild/platform/filter-showIncludes.awk
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gbuild/platform/filter-showIncludes.awk')
-rwxr-xr-xsolenv/gbuild/platform/filter-showIncludes.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/solenv/gbuild/platform/filter-showIncludes.awk b/solenv/gbuild/platform/filter-showIncludes.awk
index b8a1db052701..7803e376c9ed 100755
--- a/solenv/gbuild/platform/filter-showIncludes.awk
+++ b/solenv/gbuild/platform/filter-showIncludes.awk
@@ -32,9 +32,9 @@ BEGIN {
showincludes_prefix = "Note: including file:"
}
- # to match especially drive letters in whitelist case insensitive
+ # to match especially drive letters in allowlist case insensitive
IGNORECASE = 1
- whitelist = \
+ allowlist = \
"^(" ENVIRON["SRCDIR"] "|" ENVIRON["WORKDIR"] ")"
firstline = 1
}
@@ -54,7 +54,7 @@ BEGIN {
gsub(/\\/, "/")
gsub(/ /, "\\ ")
- if ($0 ~ whitelist) { # filter out system headers
+ if ($0 ~ allowlist) { # filter out system headers
if (!($0 in incfiles)) {
incfiles[$0]
print " " $0 " \\" > tempfile