try wrapping vars?

This commit is contained in:
Jacob Janzen 2024-10-01 18:07:05 -05:00
parent 18c25a4fc1
commit ed5d7dcb91

View file

@ -52,7 +52,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 "- [[https://jjanzen.ca/dotfiles/$root][$root]]" >> index.org
echo "- [[https://jjanzen.ca/dotfiles/${root}][${root}]]" >> index.org
cd "$root" || exit
create_dir_tree "$root"
cd ~/.dotfiles || exit