Double quote variable to prevent sh error (#2754)

This commit is contained in:
mcnesium 2022-01-04 17:53:40 +01:00 committed by GitHub
parent 4f219362fe
commit 9f9020e422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ COPY ./.git/ ./.git/
RUN crystal spec --warnings all \ RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma" --link-flags "-lxml2 -llzma"
RUN if [ ${release} == 1 ] ; then \ RUN if [ "${release}" == 1 ] ; then \
crystal build ./src/invidious.cr \ crystal build ./src/invidious.cr \
--release \ --release \
--static --warnings all \ --static --warnings all \