Fix bootstrapping.sh.

This commit is contained in:
Ivan Malison 2014-05-01 18:11:18 -07:00
parent e4b46ff518
commit 9c53a52b8f
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 15a33f41d885b37734e55e898914b459721bf384
Subproject commit d6fbf2572c090b2a4a34da42d270501e0fbc036d

View File

@ -1,5 +1,5 @@
readlink_command='readlink'
command -v greadlink > /dev/null && readlink_command="greadlink"
function dotfiles_abspath() {
echo "$(${readlink_command} -f "$BASH_SOURCE" | xargs dirname)"
echo "$(${readlink_command} -f "$BASH_SOURCE" | xargs dirname | xargs dirname)"
}