# HG changeset patch # User John W. Eaton # Date 1511356611 18000 # Node ID 4bb667a87c7d2120aaa250eb5bc0896137b72c6b # Parent 23a905c6f5d3a37bbd75802ee02bef4f86336cfd merge stdout and stderr when testing for wget --compression option diff -r 23a905c6f5d3 -r 4bb667a87c7d Makefile.in --- a/Makefile.in Tue Nov 21 22:24:47 2017 -0500 +++ b/Makefile.in Wed Nov 22 08:16:51 2017 -0500 @@ -209,7 +209,7 @@ ## The --compression option for wget is new in 1.19.2 and now without ## using --compression=none, wget seems to uncompress .gz archives ## automatically?!? -WGET_COMP := $(shell wget --compression=none --help >/dev/null && echo x--compression=none | $(SED) 's/x//') +WGET_COMP := $(shell wget --compression=none --help >/dev/null 2>&1 && echo x--compression=none | $(SED) 's/x//') WGET := wget $(WGET_COMP) --no-check-certificate \ --user-agent=$(shell wget --version | \ $(SED) -n 's,GNU \(Wget\) \([0-9.]*\).*,\1/\2,p')