Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] Re: (PR#12074) non-relative paths
Home

[Freeciv-Dev] Re: (PR#12074) non-relative paths

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: lo_oris@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12074) non-relative paths
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Feb 2005 12:51:08 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12074 >

Lo'oris wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12074 >
> 
> there are some problems with absolute paths, that makes really 
> impossible for me to build an OSX .app package of freeciv2.
> 
> the problem is that he searches for the data using absolute paths, 
> while i really need them to be relative, either relative to the 
> position of "civclient" or specified by command line.
> 
> same problem with the server (he tries to run civserver as if it was in 
> the $PATH, while i need it to be run directly from the same dir as 
> civclient).
> 
> could this be fixed?

You should be able to make a wrapper program/script using environment 
variables.  If there aren't enough environment variables we can add some 
more ;-).

Look at $FREECIV_PATH to get you started.

-jason





[Prev in Thread] Current Thread [Next in Thread]