Double quote variable to prevent sh error (#2754)
This commit is contained in:
parent
4f219362fe
commit
9f9020e422
1 changed files with 1 additions and 1 deletions
|
@ -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