mirror of https://github.com/ARMmbed/mbed-os.git
Quote the shell call in mkdir and rmdir
Allows the use of bash in windowspull/3195/head
parent
fe80efe1bb
commit
83fbbe8964
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue