mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 03:30:09 +01:00
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=755540 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
1b7196ec51
commit
2a4a222d95
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ TMPFILE="$(mktemp .nm-check-exports.XXXXXX)"
|
|||
|
||||
|
||||
get_syms() {
|
||||
nm "$1" |
|
||||
${NM:-nm} "$1" |
|
||||
sed -n 's/^[[:xdigit:]]\+ [DT] //p' |
|
||||
sort
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue