Skip to content

Commit 83fbbe8

Browse files
committed
Quote the shell call in mkdir and rmdir
Allows the use of bash in windows
1 parent fe80efe commit 83fbbe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/export/makefile/Makefile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ifeq ($(shell echo $$OS),$$OS)
99
MAKEDIR = if not exist "$(1)" mkdir "$(1)"
1010
RM = rmdir /S /Q "$(1)"
1111
else
12-
MAKEDIR = $(SHELL) -c "mkdir -p \"$(1)\""
13-
RM = $(SHELL) -c "rm -rf \"$(1)\""
12+
MAKEDIR = '$(SHELL)' -c "mkdir -p \"$(1)\""
13+
RM = '$(SHELL)' -c "rm -rf \"$(1)\""
1414
endif
1515

1616
# Move to the build directory

0 commit comments

Comments
 (0)