From 6990e4a96ba9c06b499b61e39390ab8d033d55a7 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 1 Oct 2018 18:38:38 +0200 Subject: build: silence message in "tools/create-exports-NetworkManager.sh" about missing directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/create-exports-NetworkManager.sh | 4 ++-- 1 file 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) | -- cgit v1.2.3