diff --git a/bootstrap.sh b/bootstrap.sh index 5f9df3ae..23ef2cd9 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -14,7 +14,7 @@ function symlink_dotfiles() { mkdir ~/.dotfiles-backups for filename in *; do local link_destination="$HOME/.$filename" - local absolute_path="$(readlink -f $filename)" + local absolute_path="$(${readlink_command} -f $filename)" echo "linking $link_destination to $absolute_path" [[ -a $link_destination ]] && mv $link_destination ~/.dotfiles-backups ln -si $absolute_path $link_destination