mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-27 11:18:30 -05:00
During build of the image, this error message appears:
Step 12/27 : RUN if [ ${release} == 1 ] ; then crystal build ./src/invidious.cr --release --static --warnings all --link-flags "-lxml2 -llzma"; else crystal build ./src/invidious.cr --static --warnings all --link-flags "-lxml2 -llzma"; fi
---> Running in 44d8a5cd1f96
sh: 1: unknown operand
When double-quoting the variable according to [shellcheck's SC2086](https://github.com/koalaman/shellcheck/wiki/SC2086), the error notice is gone.