cool-easter-32542
06/23/2023, 4:29 AMmake file. The make actions required the use of echo which wasn't found with the restricted set of commands available on PATH. When I tried to add echo to tools, the issue persisted.
Pants version
2.16.0
OS
Ubuntu 20.04
Additional info
This is coming from
pants/src/python/pants/backend/shell/util_rules/shell_command.py
Line 101 in </pantsbuild/pants/commit/6cbdd071dae6bb2d372322bff79ce7c4a8c872e2|6cbdd07>
. Since echo is a builtin function, the request to add it to the PATH is filtered out. I was able to shim around this by making a simple script like
#!/bin/bash
echo $@
and put that on PATH manually.
pantsbuild/pants