Skip to content

Commit

Permalink
workaround for toolkit check being done before docker rule
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Nov 18, 2023
1 parent 6c0cc33 commit 0de0459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ifneq ("$(shell grep container-toolkit .gitmodules 2>/dev/null)","")
@echo "Submodule present so updating it"
git submodule update --init
endif
ifeq ("$(shell which git && git rev-parse --is-inside-work-tree 2>/dev/null)", "true")
ifeq ("$(shell (which git > /dev/null) && git rev-parse --is-inside-work-tree 2>/dev/null)", "true")
@echo Fetching as a git submodule
git submodule add --force $(TOOLKIT_REPO) $(TOOLKIT_FOLDER)
else
Expand Down

0 comments on commit 0de0459

Please sign in to comment.