diff --git a/install.sh b/install.sh index 8bbdd16..f366815 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -e resolve_link() { - $(type -p greadlink readlink | head -1) "$1" + $(type -p greadlink readlink | head -n1) "$1" } abs_dirname() { diff --git a/libexec/bats b/libexec/bats index 71f392f..52ebd91 100755 --- a/libexec/bats +++ b/libexec/bats @@ -27,7 +27,7 @@ help() { } resolve_link() { - $(type -p greadlink readlink | head -1) "$1" + $(type -p greadlink readlink | head -n1) "$1" } abs_dirname() {