Re: ccache does not recognize environment variables under Fish shell

Martín Cigorraga <[email protected]> Tue, 19 Aug 2014 07:43:04 -0300
Newsgroups gmane.comp.compilers.ccache
Message-ID <CAJLw8+XSUGQ-=ETvVZnKoThUPDppaJ7q=N3XpQg07EQi10BY1w@mail.gmail.com>
On Tue, Aug 19, 2014 at 6:22 AM, Andrew Stubbs <[email protected]> wrote:

> On 19/08/14 01:35, Martín Cigorraga wrote:
>
>> I already set CCACHE_DIR to use my tmpfs /tmp/ccache directory:
>> ~ > echo $CCACHE_DIR
>> /tmp/ccache
>>
>
> You need to export the variable before it can be seen by programs other
> than your shell.
>
> I'm not familiar with fish shell, but there's a tutorial here:
>  http://fishshell.com/docs/current/tutorial.html
>
> It looks like you have to say this:
>
>   > set -x CCACHE_DIR /tmp/ccache
>
> You can check if the export was successful with the "env" command.
>
> Hope that helps
>
> Andrew
>

Oh my... you're absolutely right!!!
Thank you for your quick help and sorry for the noise :P
Cheers,
-Martin
_______________________________________________
ccache mailing list
[email protected]
https://lists.samba.org/mailman/listinfo/ccache