File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ build/linux-arm64-ami.txt: packer-linux-arm64.output env-AWS_REGION
116
116
grep -Eo " $( AWS_REGION) : (ami-.+)" $< | cut -d' ' -f2 | xargs echo -n > $@
117
117
118
118
# NOTE: make removes the $ escapes, everything else is passed to the shell
119
- CURRENT_AGENT_VERSION_LINUX ?= $(shell sed -En 's/^AGENT_VERSION="?(.+?) "?$$/\1/p' packer/linux/scripts/install-buildkite-agent.sh)
120
- CURRENT_AGENT_VERSION_WINDOWS ?= $(shell sed -En 's/^\$$AGENT_VERSION = "(.+?) "$$/\1/p' packer/windows/scripts/install-buildkite-agent.ps1)
119
+ CURRENT_AGENT_VERSION_LINUX ?= $(shell $( SED ) -En 's/^AGENT_VERSION="?(.+?) "?$$/\1/p' packer/linux/scripts/install-buildkite-agent.sh)
120
+ CURRENT_AGENT_VERSION_WINDOWS ?= $(shell $( SED ) -En 's/^\$$AGENT_VERSION = "(.+?) "$$/\1/p' packer/windows/scripts/install-buildkite-agent.ps1)
121
121
122
122
print-agent-versions :
123
123
@echo Linux: $(CURRENT_AGENT_VERSION_LINUX )
You can’t perform that action at this time.
0 commit comments