File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,14 @@ VOLUME_MOUNTS=-v "$(CURDIR)":/v
66SHELLCHECK_EXCLUSIONS =$(addprefix -e, SC1091 SC1117)
77SHELLCHECK =docker run --rm $(VOLUME_MOUNTS ) -w /v koalaman/shellcheck $(SHELLCHECK_EXCLUSIONS )
88
9- ENVSUBST_VARS =SCRIPT_COMMIT_SHA
9+ ENVSUBST_VARS =LOAD_SCRIPT_COMMIT_SHA
1010
1111.PHONY : build
12+ build : build/install.sh
1213
1314build/install.sh : install.sh
1415 mkdir -p $(@D )
15- SCRIPT_COMMIT_SHA= ' " $(shell git rev-parse HEAD)" ' envsubst ' $(addprefix $,$(ENVSUBST_VARS))' < $< > $@
16+ LOAD_SCRIPT_COMMIT_SHA= ' $(shell git rev-parse HEAD)' envsubst ' $(addprefix $ $,$(ENVSUBST_VARS))' < $< > $@
1617
1718.PHONY : shellcheck
1819shellcheck : build/install.sh
Original file line number Diff line number Diff line change 1616#
1717# Git commit from https://github.com/docker/docker-install when
1818# the script was uploaded (Should only be modified by upload job):
19- SCRIPT_COMMIT_SHA=${SCRIPT_COMMIT_SHA}
19+ SCRIPT_COMMIT_SHA=" ${LOAD_SCRIPT_COMMIT_SHA} "
2020
2121
2222# The channel to install from:
You can’t perform that action at this time.
0 commit comments