X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Frunfgfs.in;h=68ba3dfb0c2bee650dc86e068066ae482ef94e7a;hb=7cde2e800bccd4883f03eceb5283add24755b377;hp=ba0d40bfc69f3be6d645d004cf08db2ce06a35cf;hpb=c90db01dc8d5462a3da22771ffa7c96f5ea31217;p=flightgear.git diff --git a/src/Main/runfgfs.in b/src/Main/runfgfs.in index ba0d40bfc..68ba3dfb0 100755 --- a/src/Main/runfgfs.in +++ b/src/Main/runfgfs.in @@ -5,7 +5,7 @@ # # Written by Curtis Olson, started September 1997. # -# Copyright (C) 1997 - 1998 Curtis L. Olson - curt@me.umn.edu +# Copyright (C) 1997 - 1998 Curtis L. Olson - http://www.flightgear.org/~curt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ $prefix = "@prefix@"; # print "-> $prefix\n"; # potential names of Flight Gear executable to try -@files = ( "fg", "fg.exe" ); +@files = ( "fgfs", "fgfs.exe" ); # search for the executable # potential paths where the executable may be found @@ -73,8 +73,8 @@ foreach $path (@paths) { if ( $fg_root eq "" ) { if ( -d "$path/FlightGear" ) { $fg_root = "$path/FlightGear"; - } elsif ( -d "$path/lib/FlightGear" ) { - $fg_root = "$path/lib/FlightGear"; + } elsif ( -d "$path/share/FlightGear" ) { + $fg_root = "$path/share/FlightGear"; } } }