From 816cef5de4d95e44da950391e5fc6398957f2307 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 7 Mar 2018 10:09:56 +0100 Subject: [PATCH] Hide getconf errors --- dist-build/android-build.sh | 2 +- dist-build/ios.sh | 2 +- dist-build/nativeclient-pnacl.sh | 2 +- dist-build/nativeclient-x86.sh | 2 +- dist-build/nativeclient-x86_64.sh | 2 +- dist-build/osx.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist-build/android-build.sh b/dist-build/android-build.sh index 193fec61..dedf9cd4 100755 --- a/dist-build/android-build.sh +++ b/dist-build/android-build.sh @@ -84,7 +84,7 @@ if [ "$NDK_PLATFORM" != "$NDK_PLATFORM_COMPAT" ]; then fi -NPROCESSORS=$(getconf _NPROCESSORS_ONLN) +NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null) PROCESSORS=${NPROCESSORS:-3} make clean && \ diff --git a/dist-build/ios.sh b/dist-build/ios.sh index 77c7a229..bff6c5f3 100755 --- a/dist-build/ios.sh +++ b/dist-build/ios.sh @@ -45,7 +45,7 @@ fi --prefix="$SIMULATOR32_PREFIX" || exit 1 -NPROCESSORS=$(getconf _NPROCESSORS_ONLN) +NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null) PROCESSORS=${NPROCESSORS:-3} make -j${PROCESSORS} install || exit 1 diff --git a/dist-build/nativeclient-pnacl.sh b/dist-build/nativeclient-pnacl.sh index c249d1ef..15db7716 100755 --- a/dist-build/nativeclient-pnacl.sh +++ b/dist-build/nativeclient-pnacl.sh @@ -31,7 +31,7 @@ fi --prefix="$PREFIX" || exit 1 -NPROCESSORS=$(getconf _NPROCESSORS_ONLN) +NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null) PROCESSORS=${NPROCESSORS:-3} make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 diff --git a/dist-build/nativeclient-x86.sh b/dist-build/nativeclient-x86.sh index 343e7728..4325815f 100755 --- a/dist-build/nativeclient-x86.sh +++ b/dist-build/nativeclient-x86.sh @@ -23,7 +23,7 @@ fi --disable-ssp --without-pthreads \ --prefix="$PREFIX" || exit 1 -NPROCESSORS=$(getconf _NPROCESSORS_ONLN) +NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null) PROCESSORS=${NPROCESSORS:-3} make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 diff --git a/dist-build/nativeclient-x86_64.sh b/dist-build/nativeclient-x86_64.sh index b81b8e89..23e34f27 100755 --- a/dist-build/nativeclient-x86_64.sh +++ b/dist-build/nativeclient-x86_64.sh @@ -23,7 +23,7 @@ fi --prefix="$PREFIX" || exit 1 -NPROCESSORS=$(getconf _NPROCESSORS_ONLN) +NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null) PROCESSORS=${NPROCESSORS:-3} make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1 diff --git a/dist-build/osx.sh b/dist-build/osx.sh index 0632bacf..e29f9ff5 100755 --- a/dist-build/osx.sh +++ b/dist-build/osx.sh @@ -21,7 +21,7 @@ fi --prefix="$PREFIX" || exit 1 -NPROCESSORS=$(getconf _NPROCESSORS_ONLN) +NPROCESSORS=$(getconf _NPROCESSORS_ONLN 2>/dev/null) PROCESSORS=${NPROCESSORS:-3} make -j${PROCESSORS} check && make -j${PROCESSORS} install || exit 1