Double quote variable to prevent sh error (#2754)

pull/2653/merge
mcnesium 2022-01-04 17:53:40 +01:00 zatwierdzone przez GitHub
rodzic 4f219362fe
commit 9f9020e422
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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