diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-10 16:06:45 +0100 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-10 16:06:45 +0100 |
commit | 621d0eb476492ef9c8cb0325743bfe3c8efc9b9d (patch) | |
tree | c34dc54dd3fc050bc49acdcc74b66cb7d02700f7 /bin | |
parent | 51ba9d51a10c6875b012d53f82fa0edc1a67815f (diff) | |
download | bookup-621d0eb476492ef9c8cb0325743bfe3c8efc9b9d.tar.gz bookup-621d0eb476492ef9c8cb0325743bfe3c8efc9b9d.tar.bz2 |
Fix: _output.yml compilation
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/compile-book | 2 | ||||
-rwxr-xr-x | 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 |