docker-py: don't build --quiet is TESTDEBUG is set
@@ -36,7 +36,8 @@ source hack/make/.integration-test-helpers
echo INFO: Building ${docker_py_image}...
(
[ -n "${TESTDEBUG}" ] && set -x
- exec docker build --quiet -t ${docker_py_image} -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
+ [ -z "${TESTDEBUG}" ] && build_opts="--quiet"
+ exec docker build ${build_opts} -t ${docker_py_image} -f tests/Dockerfile "https://github.com/docker/docker-py.git#${DOCKER_PY_COMMIT}"
)
fi
