Double quote variable to prevent sh error (#2754)
This commit is contained in:
parent
4f219362fe
commit
9f9020e422
|
@ -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…
Reference in a new issue