Skip to content

Commit 9246d81

Browse files
committed
is_rust_module: use the proper NM instead of nm
Suggested-by: Nathan Chancellor <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 9fa3afe commit 9246d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/is_rust_module.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ do
1414
if [[ $line =~ ^[0-9a-fA-F]+[[:space:]]+[uUtTrR][[:space:]]+_R[^[:space:]]+$ ]]; then
1515
exit 0
1616
fi
17-
done < <(nm "$module")
17+
done < <(${NM} "$module")
1818

1919
exit 1

0 commit comments

Comments
 (0)