diff options
| author | Michael Biebl <biebl@debian.org> | 2017-05-11 15:03:26 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-05-11 15:03:26 +0200 |
| commit | 04996460fa839109b6318838d1f41e5f3ef8139a (patch) | |
| tree | cb35e54363b8ea8e78e6978a92fb68ae9409e116 /tools/create-exports-NetworkManager.sh | |
| parent | 1ae6f6dc1b3c266401a4709995991b967320139a (diff) | |
| parent | c333f062ddcba9b35330647bf6cbd0a07f2d786e (diff) | |
Merge tag 'upstream/1.8.0' into experimental
Upstream version 1.8.0
Diffstat (limited to 'tools/create-exports-NetworkManager.sh')
| -rwxr-xr-x | tools/create-exports-NetworkManager.sh | 7 |
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) | |