aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerge-script <fanquake@gmail.com>2024-10-11 09:59:09 +0100
committermerge-script <fanquake@gmail.com>2024-10-11 09:59:09 +0100
commitd8b835cf18ce459f1179354d1695c34d9f2b03f0 (patch)
tree531b67dbc4f6aa8c1fb78edcc81ca124882d004d
parent489e5aa3a2999cb18e018c40414a27667891b1c2 (diff)
parentda8824ba301c783fe9b600df8521fe1beb65f1f2 (diff)
Merge bitcoin/bitcoin#31070: contrib: fix typos in check-deps.sh
da8824ba301c783fe9b600df8521fe1beb65f1f2 Fix typos in check-deps.sh (omahs) Pull request description: Fix typos in check-deps.sh ACKs for top commit: maflcko: lgtm ACK da8824ba301c783fe9b600df8521fe1beb65f1f2 Tree-SHA512: 217d18ff3f032f52730ca3bbfa2d874e88bfcd1289135fd24f7b836a02a69ef9bee759bdb88201c5a36315b6fca518d78fdb5ad462510ae862ad2ebfb7273f02
-rwxr-xr-xcontrib/devtools/check-deps.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/devtools/check-deps.sh b/contrib/devtools/check-deps.sh
index 2fce249945..cdfc4e7533 100755
--- a/contrib/devtools/check-deps.sh
+++ b/contrib/devtools/check-deps.sh
@@ -133,7 +133,7 @@ check_disallowed() {
dst_obj=$(obj_names "$symbol" "${temp_dir}/${dst}_exports.txt")
while read src_obj; do
if ! check_suppress "$src_obj" "$dst_obj" "$symbol"; then
- echo "Error: $src_obj depends on $dst_obj symbol '$(c++filt "$symbol")', can suppess with:"
+ echo "Error: $src_obj depends on $dst_obj symbol '$(c++filt "$symbol")', can suppress with:"
echo " SUPPRESS[\"$src_obj $dst_obj $symbol\"]=1"
result=1
fi
@@ -145,7 +145,7 @@ check_disallowed() {
# Declare array to track errors which were suppressed.
declare -A SUPPRESSED
-# Return whether error should be suppressed and record suppresssion in
+# Return whether error should be suppressed and record suppression in
# SUPPRESSED array.
check_suppress() {
local src_obj="$1"
@@ -161,7 +161,7 @@ check_suppress() {
return 1
}
-# Warn about error which were supposed to be suppress, but were not encountered.
+# Warn about error which were supposed to be suppressed, but were not encountered.
check_not_suppressed() {
for suppress in "${!SUPPRESS[@]}"; do
if [[ ! -v SUPPRESSED[$suppress] ]]; then