Skip to content

Commit 4b81b9e

Browse files
committed
Move git checkout to ENV variable
1 parent 6ca10c6 commit 4b81b9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
DOCKER_CMD ?= docker
66
IPMITOOL_BUILD_DIR ?= $(PWD)/build
7+
IPMITOOL_GIT_CHECKOUT ?= true
78

89
all: build
910

@@ -15,6 +16,6 @@ run:
1516
$(DOCKER_CMD) run \
1617
-it \
1718
--rm \
18-
-e GIT_CHECKOUT=true \
19+
-e GIT_CHECKOUT=$(IPMITOOL_GIT_CHECKOUT) \
1920
-v $(IPMITOOL_BUILD_DIR):/build \
2021
ipmitool:latest /bin/bash build-ipmitool.sh

0 commit comments

Comments
 (0)