~/.bashrc I've got some changes, the most important one being the change to
$PATH. One of the commands I'm using runs through the
compile function, but it fails - bash can't find the binary.
Because I can run the binary just find from the command line, and the path to the binary is added to
$PATH in my
.bashrc, I think that
compile doesn't read my
.bashrc and thus can't find the binary it needs to run.
compile function is called by some library to call some other program from shell, so I'd rather not modify the original code.
How can I make
compile run the .bashrc first to fix this problem?