From 40255e51bf6e976fe667d2038a3c79aad629ee28 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Fri, 18 Mar 2022 13:06:31 +0100 Subject: [PATCH] use printf instead of echo --- news/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news/Makefile b/news/Makefile index 6b7f1fcfad..8b734a36b5 100644 --- a/news/Makefile +++ b/news/Makefile @@ -36,7 +36,7 @@ ARCH_SOURCES := $(foreach year,$(ARCH_YEARS),$(year)/index.sources) all: $(ARCH_SOURCES) $(ARCH_SOURCES): %.sources: @echo "* Creating $@" - @echo "news/$(dir $@)news-*:[]\nnews/$(dir $@).news-*:[]\nnews/.localmenu:[]\n" > $@ + @printf "news/$(dir $@)news-*:[]\nnews/$(dir $@).news-*:[]\nnews/.localmenu:[]\n" > $@ # ----------------------------------------------------------------------------- # Remove generated .xml files where original .xhtml file does not exist anymore