bug: Need to update path twice to PATH
environment variable for root to correctly find the executable file
#1410
Labels
PATH
environment variable for root to correctly find the executable file
#1410
Description
When adding one path to
PATH
environment variable usingupdateEnvPath
interface only one time, the root still can not find the corresponding executable binary.For example, when we add the julia binary path
/opt/julia/bin
:It's clearly already in the path variable as shown above. However, the root still can not find
julia
binary:However, after using
updateEnvPath
the second time and add the path twice, the root is able to find the binary file which is very weird.Reproduction
To reproduce it, simply comment out the line
root = g.updateEnvPath(root, juliaBinDir)
in filejulia.go
and use the following build file:Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: