diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 18:02:35 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 18:02:35 -0500 |
commit | 18c25a4fc1173361f2518701602cc29b422104a3 (patch) | |
tree | e8ecc849f637d9b017e739e57e68bdd325b7f370 /fix-dotfile-paths.sh | |
parent | 36ee833f36c90741bea34689822fe042b4966d55 (diff) |
testing in prod :3
Diffstat (limited to 'fix-dotfile-paths.sh')
-rwxr-xr-x | fix-dotfile-paths.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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" |