Fix default-value bug in build.sh
This commit is contained in:
parent
54491b2011
commit
1b5c314d00
|
|
@ -34,7 +34,7 @@ export CGO_ENABLED=0
|
||||||
export GOARCH="${ARCH}"
|
export GOARCH="${ARCH}"
|
||||||
export GOOS="${OS}"
|
export GOOS="${OS}"
|
||||||
|
|
||||||
if [ "${BUILD_DEBUG:-}" -eq 1 ]; then
|
if [ "${BUILD_DEBUG:-0}" -eq 1 ]; then
|
||||||
# Debugging - disable optimizations and inlining
|
# Debugging - disable optimizations and inlining
|
||||||
gogcflags="all=-N -l"
|
gogcflags="all=-N -l"
|
||||||
goasmflags=""
|
goasmflags=""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue