Skip to content

Commit aa3c55e

Browse files
authored
improve check for bin directory in makefile
1 parent 191561f commit aa3c55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/makefile/.toolbox.mk.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TB_LOCALDIR ?= $(shell which cygpath > /dev/null 2>&1 && cygpath -m $$(pwd) || p
55
## Location to install dependencies to
66
TB_LOCALBIN ?= $(TB_LOCALDIR)/bin
77
$(TB_LOCALBIN):
8-
mkdir -p $(TB_LOCALBIN)
8+
if [ ! -e $(TB_LOCALBIN) ]; then mkdir -p $(TB_LOCALBIN); fi
99

1010
## Tool Binaries
1111
{{- range .Tools }}

0 commit comments

Comments
 (0)