[Omake] Re: PATH
David Kågedal
davidk at lysator.liu.se
Thu Jun 14 13:15:57 PDT 2007
Aleksey Nogin <nogin at metaprl.org> writes:
> On 14.06.2007 07:39, David Kågedal wrote:
>
>> setenv(PATH, .:$(getenv PATH))
>
> David,
>
> The PATH environment variable is handled internally. You need to use
>
> PATH[] += .
>
> or
>
> PATH[] += $(dir .)
I see. But I need it to be at the beginning, so I need to write
something else. What is the syntax? PATH[] = $(cons ., $PATH) :-)
> In order to add . or the current directory (respectively) to your PATH.
> Note that you can also do
>
> $(file xxx) ...
>
> to inhibit the PATH lookup altogether.
In my real case, the directory was not ".", but a directory in /opt
--
David Kågedal
More information about the Omake
mailing list