diff --git a/mobile/gen_bindings.sh b/mobile/gen_bindings.sh index 705646b26..14cb76651 100755 --- a/mobile/gen_bindings.sh +++ b/mobile/gen_bindings.sh @@ -45,7 +45,7 @@ protoc -I/usr/local/include -I. \ # If prefix=1 is specified, prefix the generated methods with subserver name. # This must be enabled to support subservers with name conflicts. use_prefix="0" -if [[ $prefix = "1" ]] +if [ "$prefix" = "1" ] then echo "Prefixing methods with subserver name" use_prefix="1"