Skip to content

Invidious is an alternative front-end to YouTube

Double quote variable to prevent sh error (#2754)

mcnesium9f9020e42203
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 \