Commit 2a4a222d authored by Quentin Glidic's avatar Quentin Glidic Committed by Thomas Haller

tools/check-exports.sh: use ${NM} when available

This way you can export NM to use a prefixed tool

https://bugzilla.gnome.org/show_bug.cgi?id=755540Signed-off-by: Quentin Glidic's avatarQuentin Glidic <sardemff7+git@sardemff7.net>
parent 1b7196ec
......@@ -12,7 +12,7 @@ TMPFILE="$(mktemp .nm-check-exports.XXXXXX)"
get_syms() {
nm "$1" |
${NM:-nm} "$1" |
sed -n 's/^[[:xdigit:]]\+ [DT] //p' |
sort
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment