Commit 6768c9cf authored by Rafaël Carré's avatar Rafaël Carré

contrib: Look for bzcat

parent 30cd5db5
...@@ -217,6 +217,12 @@ else ...@@ -217,6 +217,12 @@ else
download = $(error Neither curl nor wget found!) download = $(error Neither curl nor wget found!)
endif endif
ifeq ($(shell which bzcat >/dev/null 2>&1 || echo FAIL),)
BZCAT = bzcat
else
BZCAT ?= $(error Bunzip2 client (bzcat) not found!)
endif
ifeq ($(shell gzcat --version >/dev/null 2>&1 || echo FAIL),) ifeq ($(shell gzcat --version >/dev/null 2>&1 || echo FAIL),)
ZCAT = gzcat ZCAT = gzcat
else ifeq ($(shell zcat --version >/dev/null 2>&1 || echo FAIL),) else ifeq ($(shell zcat --version >/dev/null 2>&1 || echo FAIL),)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment