From 17cc4da3ab8cb52a4fa49cbb1721c798e609ce1d Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 4 Oct 2025 13:52:04 -0700 Subject: [PATCH] Ensure the script is run in the proper folder. Name the eBook. --- convert.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/convert.sh b/convert.sh index 6058577..95a0f74 100755 --- a/convert.sh +++ b/convert.sh @@ -2,9 +2,12 @@ # 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" +ebook="UnderstandingAnarchy.pdf" if [[ -e $ebook ]]; then echo -n "Old: "