Skip to content

Commit

Permalink
Merge pull request #34 from Unity-CI/bugfix/fix-dockerfile-condition
Browse files Browse the repository at this point in the history
Fix condition by replacing [[ with [ closes #33
  • Loading branch information
GabLeRoux authored Oct 20, 2020
2 parents 566bfdc + 963aa00 commit 9a73c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN unity-hub install --version "$version" --changeset "$changeSet" | grep 'Erro

# Install modules for that editor
ARG module="non-existent-module"
RUN if [[ "$module" == "base" ]] ; then \
RUN if [ "$module" = "base" ] ; then \
echo "running default modules for this baseOs" ; exit 0 ; \
else \
unity-hub install-modules --version "$version" --module "$module" --childModules | grep 'Missing module' | exit $(wc -l) ; \
Expand Down

0 comments on commit 9a73c29

Please sign in to comment.