diff options
-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 |