We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c048e commit 479db24Copy full SHA for 479db24
build.sh
@@ -15,7 +15,7 @@ GITCOMMIT=$(git rev-parse HEAD)
15
BUILDTIME=$(date -u +%Y/%m/%d-%H:%M:%S)
16
17
LDFLAGS="-X main.VERSION=$VERSION -X main.BUILDTIME=$BUILDTIME -X main.GITCOMMIT=$GITCOMMIT"
18
-if test -n ${EX_LDFLAGS:-""}
+if [[ -n "${EX_LDFLAGS:-""}" ]]
19
then
20
LDFLAGS="$LDFLAGS $EX_LDFLAGS"
21
fi
0 commit comments