mirror of
https://github.com/sstephenson/bats.git
synced 2024-11-17 11:42:33 +01:00
Merge pull request #17 from agent-0028/rojkov-fix-head-util
Transfer bats#163 - Avoid undocumented usage of the head utility.
This commit is contained in:
commit
b3e61911c1
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
resolve_link() {
|
||||
$(type -p greadlink readlink | head -1) "$1"
|
||||
$(type -p greadlink readlink | head -n1) "$1"
|
||||
}
|
||||
|
||||
abs_dirname() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user