Skip to content

Commit 1512072

Browse files
Fix running dockerized first time
1 parent e21fd8c commit 1512072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/dockerized

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ i*86)
6161

6262
esac
6363

64-
if [ $DOCKERIZED_COMPILE ] || [ ! -f "$DOCKERIZED_BINARY" ]; then
64+
if [ "$DOCKERIZED_COMPILE" ] || [ ! -f "$DOCKERIZED_BINARY" ]; then
6565
echo "Compiling dockerized..." >&2
6666
GIT_COMMIT=$(cd $DOCKERIZED_ROOT; git rev-list -1 HEAD)
6767
GO_BUILD_ARGS="-ldflags '-X main.Version=${GIT_COMMIT}'"
6868
GO_LDFLAGS="-X main.Version=${GIT_COMMIT}"
69-
if [ $DOCKERIZED_COMPILE == "docker" ]; then
69+
if [ "$DOCKERIZED_COMPILE" == "docker" ]; then
7070
docker run \
7171
--rm \
7272
--entrypoint=go \

0 commit comments

Comments
 (0)