From e6f411dc45556f986cc3e5e80618e49d386bea17 Mon Sep 17 00:00:00 2001
From: Jacob Janzen <jacob.a.s.janzen@gmail.com>
Date: Sun, 29 Dec 2024 11:58:17 -0600
Subject: more cleanup

---
 fix-dotfile-paths.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fix-dotfile-paths.sh b/fix-dotfile-paths.sh
index a31c7a4..e8d04c3 100755
--- a/fix-dotfile-paths.sh
+++ b/fix-dotfile-paths.sh
@@ -25,7 +25,7 @@ create_ls_entry () {
             elif echo "$file" | grep -q "\.org$" && [ "$file" != "index.org" ]; then
                 new_file=$(echo "$file" | sed 's/\.org$//')
                 html=$(echo "$file" | sed 's/\.org$/\.html/')
-                echo "- [[$2$1$html][=$new_file=]]" >> index.org
+                echo "- [[./$html][=$new_file=]]" >> index.org
             fi
         done
     fi
@@ -41,7 +41,7 @@ create_dir_tree () {
 
         dir=$(echo "$dir" | sed 's/^\.\///')
 
-        create_ls_entry "$dir/" "$URLROOT"
+        create_ls_entry "$dir/"
 
         cd "$ROOT" || exit
     done
-- 
cgit v1.2.3