oops, disregard my comment above.
$> PATH="/usr/lib/ccache:${PATH}" which gcc
/usr/lib/ccache/gcc
so this works in ubuntu, too. (Installation path of the ccache wrappers is just
slightly different from the one in gentoo, which I didn't notice at first.)
$> VARIABLE='value' echo $VARIABLE
outputs the old value of the variable (or just a newline, if unset) on gentoo,
too. If I think about it again, that's to be expected, as expansion happens
before anything on the line is executed.
--
bash ignoring $PATH?
https://bugs.launchpad.net/bugs/146500
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs