summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2021-01-19 12:26:37 -0800
committerThomas Haller <thaller@redhat.com>2021-01-26 19:34:00 +0100
commite64366234837762e61dd8047b7e144b5de228a54 (patch)
tree92a3864c7c9a329051dab276088dae0595c3a1d6 /tools
parent3389192703b934e6ff86af7f69aca3940089eee0 (diff)
tools: find the NetworkManager-all-sym binary location
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/732
Diffstat (limited to 'tools')
-rwxr-xr-xtools/create-exports-NetworkManager.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh
index 6cb7c2e72b..406e14cf16 100755
--- a/tools/create-exports-NetworkManager.sh
+++ b/tools/create-exports-NetworkManager.sh
@@ -40,7 +40,10 @@ call_nm() {
}
get_symbols_nm () {
- base=./src/NetworkManager-all-sym
+ base=./src/.libs/NetworkManager-all-sym
+ if ! test -f "$base"; then
+ base=./src/NetworkManager-all-sym
+ fi
call_nm "$base" |
sed -n 's/^[tTDGRBS] //p' |
_sort