Welcome, Guest. Please login or register.

Author Topic: startnedi.sh Errors on Fresh install  (Read 2845 times)

theIndianMaiden

  • Guest
startnedi.sh Errors on Fresh install
« on: August 05, 2010, 08:16:47 PM »
opt/nedi/startnedi.sh
Unknown option: c
Died at ./nedi.pl line 316.
/opt/nedi/startnedi.sh: 15: Syntax error: Unterminated quoted string
lawrence@portable:/opt/nedi$ vi nedi.pl
lawrence@portable:/opt/nedi$ sudo /opt/nedi/startnedi.sh
Unknown option: c
Died at ./nedi.pl line 316.
/opt/nedi/startnedi.sh: 15: Syntax error: Unterminated quoted string

SteffenS

  • Guest
Re: startnedi.sh Errors on Fresh install
« Reply #1 on: February 04, 2011, 03:40:03 PM »
Hello!

I've found a little bug in startnedi.sh which was created with the ubuntu-install-script and nedi 1.0.6Beta2:

If you start startnedi.sh with more than 1 option, only the first option will be used.
For example, this wil result in error-message
Code: [Select]
Died at ./nedi.pl line 357.if i try to start
Code: [Select]
./startnedi.sh -A "location regexp '^DE;'" because -A need a second option.

The solution is to change the line
Code: [Select]
CMD="./nedi.pl $1" to
Code: [Select]
CMD="./nedi.pl $1 $2 $3 $4 $5 $6".

Greetings
Steffen