Why doesn't Autotools makefile update Bash hash cache after install?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 results can be reproduced with a simple 'configure && make && sudo
make install'. There's nothing special going on. In fact, I suspect
this is probably the most common use case.

Why does Autotools produce a makefile which does _not_ update the
cache under Bash shells?

Jeff

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux