diff --git a/build/build.sh b/build/build.sh index 05903bf..660ac4b 100644 --- a/build/build.sh +++ b/build/build.sh @@ -10,4 +10,13 @@ cd proton-bridge git checkout v$VERSION # Build -make build-nogui +if ! make build-nogui ; then + # If build fails it's probably because it is a 32bit + # system and there was a overflow error on the parser + # This is a workaround for this problem found at: + # https://github.com/antlr/antlr4/issues/2433#issuecomment-774514106 + find $(go env GOPATH)/pkg/mod/github.com/\!proton\!mail/go-rfc5322*/ -type f -exec sed -i.bak 's/(1<