syntax error running installation script (linux mint)

I get this error while trying to run the installation script on a min box:

mgarcia@mgarcia-VirtualBox ~/tmp/studio-6.4.0/bin $ sh studio
studio: 198: studio: Syntax error: “(” unexpected
mgarcia@mgarcia-VirtualBox ~/tmp/studio-6.4.0/bin $

can anyone help with this, it seems like a bug in the script

Thanks in advance


The error does not occur when the script is executed by BASH.

Launch Studio by the bash studio command. Or just run ./studio as the file is executable.

Thanks for the help Rostislav. Will do…