Skip to content

Commit

Permalink
replace "which" with "command".
Browse files Browse the repository at this point in the history
  • Loading branch information
adelolmo committed May 24, 2017
1 parent 2810437 commit 8484db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turtl_deb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

[ $(which fpm) ] || echo "Install fpm first. https://github.com/jordansissel/fpm/wiki"
command -v fpm >/dev/null 2>&1 || { echo >&2 "Install fpm first. https://github.com/jordansissel/fpm/wiki"; exit 1; }

TMP=/tmp/turtldeb
TMP_DEB=$TMP/deb
Expand Down

0 comments on commit 8484db4

Please sign in to comment.