From 02fc3c3dc4a896d9481c7f0bb89935f8a259185c Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 18 Jan 2023 02:20:05 -0600 Subject: [PATCH] Suppress stderr output when checking for install When checking the features of the install program, send any output on stderr to /dev/null rather than to stdout. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 85dd6b9..a22bacd 100755 --- a/configure +++ b/configure @@ -113,9 +113,9 @@ else # Check it has required features (*cough* macos) mkdir testconf touch testfile - ${INSTALL} -t testconf testfile 2>&1 >/dev/null || INSTALL=build-aux/install-sh + ${INSTALL} -t testconf testfile >/dev/null 2>&1 || INSTALL=build-aux/install-sh rm testconf/testfile - ${INSTALL} -T testfile testconf/testfile 2>&1 >/dev/null || INSTALL=build-aux/install-sh + ${INSTALL} -T testfile testconf/testfile >/dev/null 2>&1 || INSTALL=build-aux/install-sh rm -r testconf testfile printf "%s" "${INSTALL}" fi