From 621d0eb476492ef9c8cb0325743bfe3c8efc9b9d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 10 Jun 2024 16:06:45 +0100 Subject: Fix: _output.yml compilation --- bin/compile-book | 2 +- bin/compile-notes | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile-book b/bin/compile-book index e3a8b45..73aef22 100755 --- a/bin/compile-book +++ b/bin/compile-book @@ -19,7 +19,7 @@ if [ -z "$LANG" ]; then fi # Update _output.yml with language information -sed -e "s|%%lang%%|$LANG|g" templates/_output.yml > _output.yml +sed -e "s|%%lang%%|$LANG|g" $BASEDIR/templates/_output.yml > _output.yml # Set structure and templates STRUCTURE="structure/book/$LANG" diff --git a/bin/compile-notes b/bin/compile-notes index 460f8f2..fcf9c74 100755 --- a/bin/compile-notes +++ b/bin/compile-notes @@ -23,7 +23,7 @@ STRUCTURE="structure/notes/$LANG" TEMPLATES="templates/notes/$LANG" # Update _output.yml with language information -sed -e "s|%%lang%%|$LANG|g" templates/_output.yml > _output.yml +sed -e "s|%%lang%%|$LANG|g" $BASEDIR/templates/_output.yml > _output.yml # Remove any dangling output files rm -f $OUTPUT.md -- cgit v1.2.3