Skip to content

Commit d8b835c

Browse files
committed
Merge bitcoin/bitcoin#31070: contrib: fix typos in check-deps.sh
da8824b Fix typos in check-deps.sh (omahs) Pull request description: Fix typos in check-deps.sh ACKs for top commit: maflcko: lgtm ACK da8824b Tree-SHA512: 217d18ff3f032f52730ca3bbfa2d874e88bfcd1289135fd24f7b836a02a69ef9bee759bdb88201c5a36315b6fca518d78fdb5ad462510ae862ad2ebfb7273f02
2 parents 489e5aa + da8824b commit d8b835c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/devtools/check-deps.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ check_disallowed() {
133133
dst_obj=$(obj_names "$symbol" "${temp_dir}/${dst}_exports.txt")
134134
while read src_obj; do
135135
if ! check_suppress "$src_obj" "$dst_obj" "$symbol"; then
136-
echo "Error: $src_obj depends on $dst_obj symbol '$(c++filt "$symbol")', can suppess with:"
136+
echo "Error: $src_obj depends on $dst_obj symbol '$(c++filt "$symbol")', can suppress with:"
137137
echo " SUPPRESS[\"$src_obj $dst_obj $symbol\"]=1"
138138
result=1
139139
fi
@@ -145,7 +145,7 @@ check_disallowed() {
145145
# Declare array to track errors which were suppressed.
146146
declare -A SUPPRESSED
147147

148-
# Return whether error should be suppressed and record suppresssion in
148+
# Return whether error should be suppressed and record suppression in
149149
# SUPPRESSED array.
150150
check_suppress() {
151151
local src_obj="$1"
@@ -161,7 +161,7 @@ check_suppress() {
161161
return 1
162162
}
163163

164-
# Warn about error which were supposed to be suppress, but were not encountered.
164+
# Warn about error which were supposed to be suppressed, but were not encountered.
165165
check_not_suppressed() {
166166
for suppress in "${!SUPPRESS[@]}"; do
167167
if [[ ! -v SUPPRESSED[$suppress] ]]; then

0 commit comments

Comments
 (0)