make it an explicit path

This commit is contained in:
Jacob Janzen 2024-12-29 11:40:33 -06:00
parent 445a5ff792
commit e0c2f70f95

View file

@ -56,7 +56,7 @@ find -- . -maxdepth 1 -type d | sed '/\(^\.$\|^\.\/\.git$\|\.\/common\)/d' | whi
echo creating root "$root"
root=$(echo "$root" | sed 's/\(\.\/\|\/$\)//')
echo root after cleanup: "$root"
echo "- [[${root}][${root}]]" >> index.org
echo "- [[./${root}][${root}]]" >> index.org
cd "$root" || exit
create_dir_tree "$root"
cd ~/dotfiles || exit