Skip to content

Commit

Permalink
Fix default-value bug in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Jun 21, 2024
1 parent 54491b2 commit 1b5c314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export CGO_ENABLED=0
export GOARCH="${ARCH}"
export GOOS="${OS}"

if [ "${BUILD_DEBUG:-}" -eq 1 ]; then
if [ "${BUILD_DEBUG:-0}" -eq 1 ]; then
# Debugging - disable optimizations and inlining
gogcflags="all=-N -l"
goasmflags=""
Expand Down

0 comments on commit 1b5c314

Please sign in to comment.