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 \
|
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 \
|
||||||
|
|
Loading…
Reference in New Issue