From 1ba7fd91ffe8ba8d02345a0348da85f986688e49 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Tue, 26 Sep 2017 14:44:03 +0200 Subject: [PATCH] grep to-be-pulled-images directly to avoid newline issue. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2eede96cd..0ffb5e819 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ fmt: gofmt -s -l -w $(SRCS) pull-images: - cat ./integration/resources/compose/*.yml | grep -E '^\s+image:' | awk '{print $$2}' | sort | uniq | xargs -P 6 -n 1 docker pull + grep --no-filename -E '^\s+image:' ./integration/resources/compose/*.yml | awk '{print $$2}' | sort | uniq | xargs -n 1 docker pull help: ## this help @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)