Merge pull request #1247 from marcov/make-help

Allow running `make help` without out-of-container warning
Upstream-commit: 7f853fee87
Component: cli
This commit is contained in:
Vincent Demeester
2018-07-31 14:04:10 +02:00
committed by GitHub

View File

@ -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