mobile: use single brackets for bash if check
Double brackets are sh specific.
This commit is contained in:
parent
d41ca81aad
commit
39241dcdc7
@ -45,7 +45,7 @@ protoc -I/usr/local/include -I. \
|
|||||||
# If prefix=1 is specified, prefix the generated methods with subserver name.
|
# If prefix=1 is specified, prefix the generated methods with subserver name.
|
||||||
# This must be enabled to support subservers with name conflicts.
|
# This must be enabled to support subservers with name conflicts.
|
||||||
use_prefix="0"
|
use_prefix="0"
|
||||||
if [[ $prefix = "1" ]]
|
if [ "$prefix" = "1" ]
|
||||||
then
|
then
|
||||||
echo "Prefixing methods with subserver name"
|
echo "Prefixing methods with subserver name"
|
||||||
use_prefix="1"
|
use_prefix="1"
|
||||||
|
Loading…
Reference in New Issue
Block a user