From 265dec037bc1f07a74a67d5d3433227ec4d24bde Mon Sep 17 00:00:00 2001 From: Marco Vedovati Date: Tue, 31 Jul 2018 10:56:48 +0200 Subject: [PATCH] Allow running `make help` without out-of-container warning Signed-off-by: Marco Vedovati --- scripts/warn-outside-container | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/warn-outside-container b/scripts/warn-outside-container index cb11b8fa8d..e937caafeb 100755 --- a/scripts/warn-outside-container +++ b/scripts/warn-outside-container @@ -3,7 +3,7 @@ set -eu target="${1:-}" -if [[ -z "${DISABLE_WARN_OUTSIDE_CONTAINER:-}" ]]; then +if [[ "$target" != "help" && -z "${DISABLE_WARN_OUTSIDE_CONTAINER:-}" ]]; then ( echo echo