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

pull/2513/head
Max Mehl 10 months ago
parent 5e78124bdb
commit 40255e51bf
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92

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

Loading…
Cancel
Save