From 9f9020e42203afc342ddc7fd614e5a4eaceb5870 Mon Sep 17 00:00:00 2001 From: mcnesium Date: Tue, 4 Jan 2022 17:53:40 +0100 Subject: [PATCH] Double quote variable to prevent sh error (#2754) --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5f1c0a11..c73821da 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,7 +18,7 @@ COPY ./.git/ ./.git/ RUN crystal spec --warnings all \ --link-flags "-lxml2 -llzma" -RUN if [ ${release} == 1 ] ; then \ +RUN if [ "${release}" == 1 ] ; then \ crystal build ./src/invidious.cr \ --release \ --static --warnings all \