From c012bb2b2e04f08574b98dace98df32aedcdf3cd Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 7 Feb 2023 15:10:16 +0000 Subject: [PATCH] Use more portable output redirection (#62686) Signed-off-by: Jack Baldry --- docs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 814a665d640..a927e64ec4c 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,6 +1,6 @@ .PHONY: pull docs docs-quick docs-no-pull docs-test docs-local-static -PODMAN = $(shell if command -v podman &>/dev/null; then echo podman; else echo docker; fi) +PODMAN = $(shell if command -v podman >/dev/null 2>&1; then echo podman; else echo docker; fi) IMAGE = grafana/docs-base:latest CONTENT_PATH = /hugo/content/docs/grafana/latest LOCAL_STATIC_PATH = ../../website/static