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
6
6
SHELLCHECK_EXCLUSIONS =$(addprefix -e, SC1091 SC1117)
7
7
SHELLCHECK =docker run --rm $(VOLUME_MOUNTS ) -w /v koalaman/shellcheck $(SHELLCHECK_EXCLUSIONS )
8
8
9
- ENVSUBST_VARS =SCRIPT_COMMIT_SHA
9
+ ENVSUBST_VARS =LOAD_SCRIPT_COMMIT_SHA
10
10
11
11
.PHONY : build
12
+ build : build/install.sh
12
13
13
14
build/install.sh : install.sh
14
15
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))' < $< > $@
16
17
17
18
.PHONY : shellcheck
18
19
shellcheck : build/install.sh
Original file line number Diff line number Diff line change 16
16
#
17
17
# Git commit from https://github.com/docker/docker-install when
18
18
# 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} "
20
20
21
21
22
22
# The channel to install from:
You can’t perform that action at this time.
0 commit comments