forgot one more quiet flag
This commit is contained in:
parent
545ea03985
commit
c5453844f8
1 changed files with 2 additions and 2 deletions
4
build
4
build
|
@ -36,13 +36,13 @@ build_docker() {
|
|||
}
|
||||
|
||||
# if an arg is specified, force building with the specified method
|
||||
[ $1 ] && build_$1 && exit
|
||||
[ $1 ] && (build_$1; exit)
|
||||
|
||||
# prefer building with local go install if it exists on path
|
||||
if which go &> /dev/null; then
|
||||
build_go; exit
|
||||
# if windows or linux, try building with docker
|
||||
elif echo $os | grep -e linux -e windows; then
|
||||
elif echo $os | grep -qe linux -e windows; then
|
||||
which docker &> /dev/null && (build_docker; exit)
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue