set git safe.directory to workspace to get commit hash during make (recursive)
This commit is contained in:
parent
4788136b10
commit
4074ee4f3c
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ NORM=$(shell tput sgr0)
|
|||
ifeq ($(CONTAINER_NAME),)
|
||||
shell: .build
|
||||
$(info $(BOLD)Starting $(TOOLCHAIN_NAME)...$(NORM))
|
||||
docker run -it --rm -v "$(WORKSPACE_DIR)":/root/workspace $(TOOLCHAIN_NAME) /bin/bash -c "git config --global --add safe.directory /root/workspace && exec bash"
|
||||
docker run -it --rm -v "$(WORKSPACE_DIR)":/root/workspace $(TOOLCHAIN_NAME) /bin/bash -c "git config --global --add safe.directory '*' && exec bash"
|
||||
else
|
||||
shell:
|
||||
$(info $(BOLD)Connecting to running $(TOOLCHAIN_NAME)...$(NORM))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue