Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure when BUILD_RESTRICT_LANG is not defined. #4

Open
rvalyi opened this issue Jul 21, 2020 · 0 comments · May be fixed by #5
Open

failure when BUILD_RESTRICT_LANG is not defined. #4

rvalyi opened this issue Jul 21, 2020 · 0 comments · May be fixed by #5

Comments

@rvalyi
Copy link
Member

rvalyi commented Jul 21, 2020

not assigning BUILD_RESTRICT_LANG in the Dockerfile leads to build errors such as:

find: paths must precede expression: `f'
remote: The command '/bin/sh -c build-odoo' returned a non-zero code: 1
remote: 

This is because if [[ $BUILD_RESTRICT_LANG ]] is not a correct Bash test. The correct way should be something like
if [[ ! -z $BUILD_RESTRICT_LANG ]]

rvalyi added a commit that referenced this issue Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant