summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-10-01 18:38:38 +0200
committerThomas Haller <thaller@redhat.com>2018-10-01 18:38:38 +0200
commit6990e4a96ba9c06b499b61e39390ab8d033d55a7 (patch)
treef7fd43ca59d5eb647a4081336811126eb405f49f
parentd6020e67d95dbe6d79330c3198fda400c2cbf764 (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-xtools/create-exports-NetworkManager.sh4
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) |