From 18c25a4fc1173361f2518701602cc29b422104a3 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Tue, 1 Oct 2024 18:02:35 -0500 Subject: testing in prod :3 --- fix-dotfile-paths.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fix-dotfile-paths.sh') diff --git a/fix-dotfile-paths.sh b/fix-dotfile-paths.sh index e4d22e0..c765b5d 100755 --- a/fix-dotfile-paths.sh +++ b/fix-dotfile-paths.sh @@ -49,7 +49,9 @@ git checkout main echo '#+title: Dotfiles' >> index.org echo 'This is my system configuration. These pages are automatically generated from the sources hosted [[https://git.sr.ht/~jjanzen/.dotfiles][here]]. Choose which system to browse: ' >> index.org find -- . -maxdepth 1 -type d | sed '/\(^\.$\|^\.\/\.git$\|\.\/common\)/d' | while read -r root; do + echo creating root $root root=$(echo "$root" | sed 's/\(\.\/\|\/$\)//') + echo root after cleanup: $root echo "- [[https://jjanzen.ca/dotfiles/$root][$root]]" >> index.org cd "$root" || exit create_dir_tree "$root" -- cgit v1.2.3