# HG changeset patch # User Matti Hamalainen # Date 1684224860 -10800 # Node ID 972cd6162ea9b76d013f8ba49568a98903c17ed2 # Parent 0fbd68ddd363dde602f27794083348423af947f7 Redirect error outputs to /dev/null when detecting PHP etc. diff -r 0fbd68ddd363 -r 972cd6162ea9 world/Makefile --- a/world/Makefile Tue Apr 18 12:54:06 2023 +0300 +++ b/world/Makefile Tue May 16 11:14:20 2023 +0300 @@ -4,9 +4,9 @@ ### ### Detect if we have some things ### -HAVE_CURL ?= $(shell curl --version > /dev/null && echo "yes") -HAVE_WGET ?= $(shell wget --version > /dev/null && echo "yes") -HAVE_PHP ?= $(shell php --version > /dev/null && echo "yes") +HAVE_CURL ?= $(shell curl --version > /dev/null 2>&1 && echo "yes") +HAVE_WGET ?= $(shell wget --version > /dev/null 2>&1 && echo "yes") +HAVE_PHP ?= $(shell php --version > /dev/null 2>&1 && echo "yes") ifeq ($(HAVE_CURL),yes) HTTPGET ?= curl -o