mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-12-04 14:46:37 -05:00
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:
parent
da3390089c
commit
02fc3c3dc4
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user