1
0
Fork 0

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.
This commit is contained in:
Ryan Schmidt 2023-01-18 02:20:05 -06:00
parent da3390089c
commit 02fc3c3dc4
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -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