Syntac error.
Alexander Smirnov
alexander.v.smirnov at gmail.com
Fri Jan 25 14:04:03 UTC 2008
Jim wrote:
> Kubuntu-7.10
> Trying to to install, install-crossover-standard-6.2.0(3).sh and I keep
> getting Syntacs Errors, I have run the install two different ways, but
> still syntacs errors.
>
> $ sudo ./install-crossover-standard-6.2.0(3).sh
> or
> $ sudo sh install-crossover-standard-6.2.0(3).sh
>
> What is the correct way to install ?
>
>
I think that's because this script is written in 'bash', but 'sh' is
specified in the first line.
Most distributives use symlink sh->bash, but kubuntu has sh->dash.
So you have two ways:
1. unlink sh, make link sh->bash
2. edit script "install-crossover-bla-bla-bla", replace 'sh' with 'bash'
in the first line.
More information about the kubuntu-users
mailing list