diff options
author | Thomas Haller <thaller@redhat.com> | 2018-10-01 18:38:38 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-10-01 18:38:38 +0200 |
commit | 6990e4a96ba9c06b499b61e39390ab8d033d55a7 (patch) | |
tree | f7fd43ca59d5eb647a4081336811126eb405f49f | |
parent | d6020e67d95dbe6d79330c3198fda400c2cbf764 (diff) |
build: silence message in "tools/create-exports-NetworkManager.sh" about missing directory
When building with meson -Dppp=false, the following message is printed
during build:
[623/671] Generating NetworkManager.ver with a custom command. find: ‘./src/ppp/’: No such file or directory
The message is harmless. Hide it.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/43
-rwxr-xr-x | tools/create-exports-NetworkManager.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh index 1462501ee..3c5789d88 100755 --- a/tools/create-exports-NetworkManager.sh +++ b/tools/create-exports-NetworkManager.sh @@ -53,8 +53,8 @@ EOF get_symbols_missing() { (for f in $(find ./src/settings/plugins/*/${libs} \ - ./src/devices/*/${libs} \ - ./src/ppp/${libs} -name '*.so'); do + ./src/devices/*/${libs} \ + ./src/ppp/${libs} -name '*.so' 2>/dev/null); do call_nm "$f" | sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\|c_siphash_\).*\)$/\2/p' done) | |