mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
Merge pull request #811 from eli-schwartz/portability
build: do not require the nonstandard and unpredictable 'which' utility
This commit is contained in:
commit
69e96cba95
|
|
@ -5,6 +5,6 @@ err() {
|
|||
exit 1
|
||||
}
|
||||
|
||||
if ! test "$(which column)"; then
|
||||
if ! command -v column >/dev/null 2>&1; then
|
||||
err "Need to install dependency 'column' before installation"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue