diff --git a/tools/export/gcc_arm_common.tmpl b/tools/export/gcc_arm_common.tmpl index 7ae338913c..db5c9cb92a 100644 --- a/tools/export/gcc_arm_common.tmpl +++ b/tools/export/gcc_arm_common.tmpl @@ -6,8 +6,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 ifeq (,$(filter .build,$(notdir $(CURDIR))))