Ticket #6677 (closed defect: worksforme)
Ubuntu 10.04 guest: syntax error on installing guest additions
|Reported by:||mbvlist||Owned by:|
When I run the command 'sudo /media/VBOXADDITIONS_3.1.6_59338/VBoxLinuxAdditions-x86.run' the script stops with 'syntax error: unexpected ")" '. This is probably caused by Ubuntu that links SH to Dash instead of Bash: when I executed the script with 'sudo bash -x' it worked. Easiest fix would be to change the first line to #!/bin/bash, which is the shell your script depends on.