Fix build to work with system-installed go binaries For portability, use "command -v" instead of "type -P" Make the command used to extract the go version slightly more sane Add test for existence of go binary before trying to run it to reduce noise Add quotes to make shell commands more robust
Fix build to work with system-installed go binaries
For portability, use "command -v" instead of "type -P"
Make the command used to extract the go version slightly more sane
Add test for existence of go binary before trying to run it to reduce noise
Add quotes to make shell commands more robust

prometheus/utils