summaryrefslogtreecommitdiff
path: root/automation/clang-format
diff options
context:
space:
mode:
authorRobert Relyea <rrelyea@redhat.com>2022-11-30 10:52:12 -0800
committerRobert Relyea <rrelyea@redhat.com>2022-11-30 10:52:12 -0800
commitf64f571088d44007d565c0499f462ae005f63e30 (patch)
treea00ca55008ead2c337d54f09f115586e045f5a55 /automation/clang-format
parent149ef874d2fa51c88524a6b87b8ded3e658a900d (diff)
downloadnss-hg-f64f571088d44007d565c0499f462ae005f63e30.tar.gz
Bug 1803190 conscious language removal in NSS
Clean up problemantic terms are master, slave, whitelist, blacklist. These are usually easily changes to main/server, client, allowlist, and blocklist (or other similiar terms, which are often more descriptive anyway). Things related to the tls/ssl master key, which part of the tls spec and needs to first be handled by the tls ietf working group. Differential Revision: https://phabricator.services.mozilla.com/D163522
Diffstat (limited to 'automation/clang-format')
-rwxr-xr-xautomation/clang-format/run_clang_format.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/automation/clang-format/run_clang_format.sh b/automation/clang-format/run_clang_format.sh
index 50d4eead7..9f2b20db6 100755
--- a/automation/clang-format/run_clang_format.sh
+++ b/automation/clang-format/run_clang_format.sh
@@ -13,7 +13,7 @@ set -e
# Any differences between formatted and unformatted files is printed to stdout to give a hint what's wrong.
# Includes a default set of directories NOT to clang-format on.
-blacklist=(
+blocklist=(
"./automation" \
"./coreconf" \
"./doc" \
@@ -37,8 +37,8 @@ fi
format_folder()
{
- for black in "${blacklist[@]}"; do
- if [[ "$1" == "$black"* ]]; then
+ for block in "${blocklist[@]}"; do
+ if [[ "$1" == "$block"* ]]; then
echo "skip $1"
return 1
fi
@@ -65,4 +65,4 @@ if [[ -d "$top/.hg" ]]; then
else
git -C "$top" diff | tee $TMPFILE
fi
-[[ ! -s $TMPFILE ]] \ No newline at end of file
+[[ ! -s $TMPFILE ]]