From 407a6d48a885d47e5231c37d1ce77a89483a9848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Thu, 28 Apr 2022 21:08:08 +0200 Subject: [PATCH] Removed unnecessary cat --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 53cff34..56bfbdc 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ $(IMAGE_NATIVE_DOCKERFILE): $(DOCKERFILE_TEMPLATE) mkdir -p '$(DISTDIR)' '$(M4)' \ --prefix-builtins \ - '$(DOCKERFILE_TEMPLATE)' | cat --squeeze-blank > '$@' + '$(DOCKERFILE_TEMPLATE)' > '$@' '$(DOCKER)' build $(IMAGE_BUILD_OPTS) \ --tag '$(IMAGE_NAME):$(IMAGE_VERSION)' \ --tag '$(IMAGE_NAME):latest' \ @@ -68,7 +68,7 @@ $(IMAGE_AMD64_DOCKERFILE): $(DOCKERFILE_TEMPLATE) --prefix-builtins \ --define=CROSS_ARCH=amd64 \ --define=CROSS_QEMU=/usr/bin/qemu-x86_64-static \ - '$(DOCKERFILE_TEMPLATE)' | cat --squeeze-blank > '$@' + '$(DOCKERFILE_TEMPLATE)' > '$@' '$(DOCKER)' build $(IMAGE_BUILD_OPTS) \ --tag '$(IMAGE_NAME):$(IMAGE_VERSION)-amd64' \ --tag '$(IMAGE_NAME):latest-amd64' \ @@ -83,7 +83,7 @@ $(IMAGE_ARM64V8_DOCKERFILE): $(DOCKERFILE_TEMPLATE) --prefix-builtins \ --define=CROSS_ARCH=arm64v8 \ --define=CROSS_QEMU=/usr/bin/qemu-aarch64-static \ - '$(DOCKERFILE_TEMPLATE)' | cat --squeeze-blank > '$@' + '$(DOCKERFILE_TEMPLATE)' > '$@' '$(DOCKER)' build $(IMAGE_BUILD_OPTS) \ --tag '$(IMAGE_NAME):$(IMAGE_VERSION)-arm64v8' \ --tag '$(IMAGE_NAME):latest-arm64v8' \ @@ -98,7 +98,7 @@ $(IMAGE_ARM32V7_DOCKERFILE): $(DOCKERFILE_TEMPLATE) --prefix-builtins \ --define=CROSS_ARCH=arm32v7 \ --define=CROSS_QEMU=/usr/bin/qemu-arm-static \ - '$(DOCKERFILE_TEMPLATE)' | cat --squeeze-blank > '$@' + '$(DOCKERFILE_TEMPLATE)' > '$@' '$(DOCKER)' build $(IMAGE_BUILD_OPTS) \ --tag '$(IMAGE_NAME):$(IMAGE_VERSION)-arm32v7' \ --tag '$(IMAGE_NAME):latest-arm32v7' \