Syntac error.

Derek Broughton news at pointerstop.ca
Fri Jan 25 20:51:25 UTC 2008


Alexander Smirnov wrote:

> 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.

At least 3 ways:

sudo bash install...
-- 
derek





More information about the kubuntu-users mailing list