From 9cae185391e2720ed76a076a16daecfce47ed484 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 27 Nov 2019 19:08:09 +0100 Subject: [PATCH] Try to fix Travis build --- Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 6cb01398c..e136c1e20 100644 --- a/Makefile +++ b/Makefile @@ -184,13 +184,9 @@ material/%.yml: src/%.yml NAME = $(shell jq -r '.name' package.json) VERSION = $(shell jq -r '.version' package.json) material: $$@/assets $$@/__init__.py $$@/mkdocs_theme.yml ${HTML} - echo ${NAME} - echo ${VERSION} - ls package.json - cat package.json - @ sed -i "" 's/\$$md-name\$$/${NAME}/' $@/base.html - @ sed -i "" 's/\$$md-version\$$/${VERSION}/' $@/base.html - @ sed -i "" 's/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/' $@/base.html + @ sed -i"" "s/\$$md-name\$$/${NAME}/" $@/base.html + @ sed -i"" "s/\$$md-version\$$/${VERSION}/" $@/base.html + @ sed -i"" "s/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/" $@/base.html @ echo "\n ${NAME}-${VERSION}\n" # -----------------------------------------------------------------------------