Closed Gerrit91 closed 1 year ago
@fhaftmann Can you please check if using which
does also work for you? Otherwise we need to think about something else that works for CI as well as your use-cases.
For some reason the built-in command
command
does not work on our CI runners:
Judging from this answer on Stackoverflow it is caused by make. I also had a look into the code and there is list of commands, which have to pass through a shell. Since version 4.3 command
is listed there, which should have been there from the beginning.
Sounds reasonable. I hope that which
is also ok for you. Otherwise, I'll need to adapt the CI.
In general the behavior of which
is not well defined, but this case we're targeting Linux, therefore that's no problem.
I am fine with using which
here.
See https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then why I nowadays avoid which
.
For some reason the built-in command
command
does not work on our CI runners:Looks like there is a different shell context which does not have the built-ins. Also other people seem to have this issue when you google the issue. :/