about summary refs log tree commit diff
path: root/tools/create-exports-NetworkManager.sh
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-05-11 15:03:26 +0200
committerMichael Biebl <biebl@debian.org>2017-05-11 15:03:26 +0200
commit04996460fa839109b6318838d1f41e5f3ef8139a (patch)
treecb35e54363b8ea8e78e6978a92fb68ae9409e116 /tools/create-exports-NetworkManager.sh
parent1ae6f6dc1b3c266401a4709995991b967320139a (diff)
parentc333f062ddcba9b35330647bf6cbd0a07f2d786e (diff)
Merge tag 'upstream/1.8.0' into experimental
Upstream version 1.8.0
Diffstat (limited to 'tools/create-exports-NetworkManager.sh')
-rwxr-xr-xtools/create-exports-NetworkManager.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh
index c1010f72..85c23930 100755
--- a/tools/create-exports-NetworkManager.sh
+++ b/tools/create-exports-NetworkManager.sh
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 set -e
+set -o pipefail
 
 die() {
     echo "$@"
@@ -46,9 +47,9 @@ EOF
 }
 
 get_symbols_missing() {
-    (for f in ./src/settings/plugins/*/.libs/*.so \
-              ./src/devices/*/.libs/*.so \
-              ./src/ppp/.libs/libnm-ppp-plugin.so; do
+    (for f in $(find ./src/settings/plugins/*/.libs/ \
+              ./src/devices/*/.libs/ \
+              ./src/ppp/.libs/ -name '*.so'); do
         call_nm "$f" |
             sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\).*\)$/\2/p'
     done) |