Quote the shell call in mkdir and rmdir

Allows the use of bash in windows
pull/3227/head
Jimmy Brisson 2016-11-03 15:38:55 -05:00 committed by Anna Bridge
parent 07cb26874c
commit 9ef6986ebe
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ ifeq ($(shell echo $$OS),$$OS)
MAKEDIR = if not exist "$(1)" mkdir "$(1)"
RM = rmdir /S /Q "$(1)"
else
MAKEDIR = $(SHELL) -c "mkdir -p \"$(1)\""
RM = $(SHELL) -c "rm -rf \"$(1)\""
MAKEDIR = '$(SHELL)' -c "mkdir -p \"$(1)\""
RM = '$(SHELL)' -c "rm -rf \"$(1)\""
endif
# Move to the build directory