use printf instead of echo
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Max Mehl 2022-03-18 13:06:31 +01:00
parent 5e78124bdb
commit 40255e51bf
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92
1 changed files with 1 additions and 1 deletions

View File

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