From 73d8b3e8d5dfa26bb76ebe41dea6c1281e4ebe53 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 8 Apr 2014 11:29:50 -0700 Subject: [PATCH] use readlink_command in bootstrap.sh. --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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