use readlink_command in bootstrap.sh.

This commit is contained in:
Ivan Malison 2014-04-08 11:29:50 -07:00
parent 312e8266c9
commit 73d8b3e8d5

View File

@ -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