aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/compile-book2
-rwxr-xr-xbin/compile-notes2
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