diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-12-29 11:58:17 -0600 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-12-29 11:58:17 -0600 |
commit | e6f411dc45556f986cc3e5e80618e49d386bea17 (patch) | |
tree | f85229fa86303b764c9df3ffb9b5fb0d058cf46d | |
parent | d1dfa3db3394b313c41795035661d2c6fc0981b3 (diff) |
more cleanup
-rwxr-xr-x | fix-dotfile-paths.sh | 4 |
1 files 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 |