mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
Don't use 'which' to check for godep
This commit is contained in:
parent
ff18a2c3e2
commit
fb4a2c9b5a
2
build.sh
2
build.sh
@ -6,7 +6,7 @@ distFiles=(README.md LICENSE) # apart from the binary itself
|
|||||||
version=$(git describe --always)
|
version=$(git describe --always)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if which -s godep ; then
|
if command -v godep >/dev/null ; then
|
||||||
godep=godep
|
godep=godep
|
||||||
else
|
else
|
||||||
echo "Warning: no godep, using \"go get\" instead."
|
echo "Warning: no godep, using \"go get\" instead."
|
||||||
|
Loading…
Reference in New Issue
Block a user