Re: Specifying location of .4gi files
Posted in 2004
Topics: General Discussion
Andy Kent wrote: > Which environment variable tells fglgo where to look for pcode files? > DBPATH can contain a colon-separated list of directories. It seems fglgo uses this to look for 4gi files and for databases.
Ian Wilson wrote:
> Andy Kent wrote:
>
>> Which environment variable tells fglgo where to look for pcode files?
>>
>
> DBPATH can contain a colon-separated list of directories. It seems fglgo
> uses this to look for 4gi files and for databases.
Oops, no it doesn't (I moved a 4gi into a subdir and fglgo'd OK but I
had overlooked a same-name 4go in current dir).
Perhaps the best you can do is chdir to the dir containing the 4gi and
set DBPATH to where the database is.
Or just specify the path: fglgo somewhere/foo.4gi
Or write a wrapper script for fglgo.