Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8635) [PATCH] Correct FREECIV_PATH for binaries f
Home

[Freeciv-Dev] Re: (PR#8635) [PATCH] Correct FREECIV_PATH for binaries f

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8635) [PATCH] Correct FREECIV_PATH for binaries form civ & ser scripts
From: "Jason Short" <jshort@xxxxxxxxxxxxxx>
Date: Sun, 2 May 2004 16:50:32 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8635 >

>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8635 >
>
>
>   Just noticed that one is supposed to be able to run 'civ' and 'ser'
> from anywhere, not only when working directory is builddir.
>   So, one can't determine FREECIV_PATH using top_srcdir as it is
> _relative_ to top_builddir, not absolute path. This is problem even if
> bulding to srcdir, meaning top_srcdir is just ".".

So it should be $DIR/$top_srcdir/data?

Except in my tests IIRC this didn't work, and it did work as it is now.  I
believe freeciv changes the working directory.  At least I know of one
other place in the code (conndlg) that I think assumes this.

jason




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