[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]
<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
|
|