Hi All
I am tring to run FG from the following bash script without success.

#!/bin/bash
cmdline="
--fg-root=/home/innis/FlightGear
--fg-scenery=/home/innis/FlightGear/Scenery
--aircraft=ufo
--airport=YSSY
"
/home/innis/bin/fgfs $cmdline
exit 0

I get the following message.

sh 737

Base package check failed ... Found version [none] at: 
/home/innis/FlightGear
Please upgrade to version: 0.9.10
: numeric argument required

The thing is that if I run FG from the CLI with the same commands then
everything works fine.Also the bash script I am using is one I have copied
over from Mandrake 10 were it works just fine.
I am trying to get this to work on Debian testing so if someone can see
some mistake I am doing please say.
Also any hints with regard to my Bash setup under Debian.

My guess is I have a path problem but my limited knowledge of Debian
and Bash scripts means I dont know what else I need to do.

T.I.A

Cheers
Innis



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to