From 7da3364297670de6404437ae7f2f76229fecf796 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 4 Oct 2025 06:55:12 -0700 Subject: [PATCH] Ensure conversion takes place in the correct folder. --- convert.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/convert.sh b/convert.sh index 6058577..3646e3f 100755 --- a/convert.sh +++ b/convert.sh @@ -2,6 +2,9 @@ # 2024-03-06 Hyperling # PanDoc Usage: https://pandoc.org/MANUAL.html#general-writer-options +DIR="$(dirname -- "${BASH_SOURCE[0]}")" +cd $DIR + date ebook="ebook.pdf"