Double quote variable to prevent sh error (#2754)

pull/2653/merge
mcnesium 3 years ago committed by GitHub
parent 4f219362fe
commit 9f9020e422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save