Skip to content

Commit

Permalink
Merge pull request #811 from eli-schwartz/portability
Browse files Browse the repository at this point in the history
build: do not require the nonstandard and unpredictable 'which' utility
  • Loading branch information
spacewander authored Dec 13, 2019
2 parents 16bb0df + e836b6c commit 69e96cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 69e96cb

Please sign in to comment.