Skip to content

Commit c487eb3

Browse files
committed
hack/verify-symbols: fix nm call through go tool
1 parent 1fba888 commit c487eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/verify-symbols.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ BADSYMBOLS=(
3434
)
3535

3636
# b/c hyperkube binds everything simply check that for bad symbols
37-
SYMBOLS="$(nm "${KUBE_OUTPUT_HOSTBIN}/hyperkube")"
37+
SYMBOLS="$(go tool nm "${KUBE_OUTPUT_HOSTBIN}/hyperkube")"
3838

3939
RESULT=0
4040
for BADSYMBOL in "${BADSYMBOLS[@]}"; do
41-
if FOUND=$(echo "$SYMBOLS" | grep "$BADSYMBOL"); then
41+
if FOUND=$(echo "${SYMBOLS}" | grep "${BADSYMBOL}"); then
4242
echo "Found bad symbol '${BADSYMBOL}':"
4343
echo "$FOUND"
4444
RESULT=1

0 commit comments

Comments
 (0)