msvc: update Makefile to allow for spaces in the compiler path
[gitweb.git] / Makefile
index f58bf14c7bf3d9b29fcd0a97bc14e253f3eb675d..c60424e630f1954678c7c084e7716908df539e35 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1235,7 +1235,7 @@ endif
 
 ifdef SANE_TOOL_PATH
 SANE_TOOL_PATH_SQ = $(subst ','\'',$(SANE_TOOL_PATH))
-BROKEN_PATH_FIX = 's|^\# @@BROKEN_PATH_FIX@@$$|git_broken_path_fix $(SANE_TOOL_PATH_SQ)|'
+BROKEN_PATH_FIX = 's|^\# @@BROKEN_PATH_FIX@@$$|git_broken_path_fix "$(SANE_TOOL_PATH_SQ)"|'
 PATH := $(SANE_TOOL_PATH):${PATH}
 else
 BROKEN_PATH_FIX = '/^\# @@BROKEN_PATH_FIX@@$$/d'