From 3f79908bee608bc97d161d941214a11b3655d0f3 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 20 Jul 2021 18:15:29 +0200 Subject: [PATCH] deps: add SKIP_REDIS variable --- packaging/deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/deps.sh b/packaging/deps.sh index 7238334ed..dc3ab4b3b 100644 --- a/packaging/deps.sh +++ b/packaging/deps.sh @@ -137,7 +137,7 @@ fi # Build & Install hiredis if ! pkg-config "hiredis>1.0.0" && \ - [ -z "${SKIP_HIREDIS}" ]; then + [ -z "${SKIP_HIREDIS}" -a -z "${SKIP_REDIS}" ]; then git clone --branch v1.0.0 --depth 1 https://github.com/redis/hiredis.git mkdir -p hiredis/build pushd hiredis/build @@ -149,7 +149,7 @@ if ! pkg-config "hiredis>1.0.0" && \ fi # Build & Install redis++ -if [ -z "${SKIP_REDISPP}" ]; then +if [ -z "${SKIP_REDISPP}" -a -z "${SKIP_REDIS}" ]; then git clone --depth 1 https://github.com/sewenew/redis-plus-plus.git mkdir -p redis-plus-plus/build pushd redis-plus-plus/build