On 6/13/2017 9:47 AM, Zack Weinberg wrote:
> On Tue, Jun 13, 2017 at 9:45 AM, Jeffrey Walton wrote:
>> On Tue, Jun 13, 2017 at 8:40 AM, Zack Weinberg wrote:
>>> On Tue, Jun 13, 2017 at 8:29 AM, Jeffrey Walton wrote:
Why does
On Tue, Jun 13, 2017 at 8:40 AM, Zack Weinberg wrote:
> On Tue, Jun 13, 2017 at 8:29 AM, Jeffrey Walton wrote:
>>
>> Why does Autotools produce a makefile which does _not_ update the
>> cache under Bash shells?
>
> It can't. The rehash operation has to be
On Tue, Jun 13, 2017 at 9:45 AM, Jeffrey Walton wrote:
> On Tue, Jun 13, 2017 at 8:40 AM, Zack Weinberg wrote:
>> On Tue, Jun 13, 2017 at 8:29 AM, Jeffrey Walton wrote:
>>>
>>> Why does Autotools produce a makefile which does _not_ update
On Tue, Jun 13, 2017 at 8:29 AM, Jeffrey Walton wrote:
>
> Why does Autotools produce a makefile which does _not_ update the
> cache under Bash shells?
It can't. The rehash operation has to be done in the shell that is
the parent process of 'make install' (and any other
Hi Everyone,
After performing a 'make install', the Bash shell could still use the
old program because the Bash hash cache was not updated for the
program. 'which' will show the expected program (say
/usr/local/bin/foo), but running 'foo' will result in the old program
(say /usr/bin/foo).
The