From e652b42eb7c47ab51c654ba4f20f4104a83f0e88 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Sun, 15 Aug 2021 20:26:41 +0100 Subject: [PATCH] Makefile: Use shell expansion more consistently --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4dbb6b6..d57edaa 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ NC ?= $(call find-cmd,nc) -vv -r -l ## Builds and deploys Fedora CoreOS for HOST on ADDRESS. deploy: $(TMPDIR)host/$(HOST)/spec.ign @printf "Serving Ignition config '$<' over HTTP...\n" - @printf 'HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s\n' "`wc -c < $<`" "`cat $<`" | $(NC) -s $(ADDRESS) || exit 0 + @printf 'HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s\n' "$$(wc -c < $<)" "$$(cat $<)" | $(NC) -s $(ADDRESS) || exit 0 ## Prepares and deploys CoreOS release for local, virtual environment. deploy-virtual: $(TMPDIR)images/fedora-coreos-$(VERSION)-qemu.$(ARCH).qcow2.xz $(TMPDIR)host/$(HOST)/spec.ign