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 | 15857ad958fac0d6a641b049a75e32b24a60f01e (patch) | |
tree | f7fd43ca59d5eb647a4081336811126eb405f49f /tools | |
parent | 23e001fec7a4dfe01611b7c62c5de45902c056a8 (diff) | |
download | NetworkManager-15857ad958fac0d6a641b049a75e32b24a60f01e.tar.gz |
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
Diffstat (limited to 'tools')
-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 1462501ee3..3c5789d884 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) | |