forked from colonelpanic/dotfiles
Fix bootstrapping.sh.
This commit is contained in:
@@ -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)"
|
||||
}
|
||||
|
Reference in New Issue
Block a user