diff --git a/build.sh b/build.sh index 495581f3..09ef2aa4 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,7 @@ distFiles=(README.md LICENSE) # apart from the binary itself version=$(git describe --always) build() { - if which -s godep ; then + if command -v godep >/dev/null ; then godep=godep else echo "Warning: no godep, using \"go get\" instead."