msvc: update Makefile to allow for spaces in the compiler path

It is quite common that MS Visual C++ is installed into a location whose path contains spaces, therefore we need to quote it. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff Hostetler committed Jun 19, 2019 at 14:06 UTC c444bf8cb6a881f4c249e904a12e201dae40b7d2
1 file changed +1 -1
Makefile
+1 -1
@@ -1235,7 +1235,7 @@ endif
1235
1236 ifdef SANE_TOOL_PATH
1237 SANE_TOOL_PATH_SQ = $(subst ','\'',$(SANE_TOOL_PATH))
1238 -BROKEN_PATH_FIX = 's|^\# @@BROKEN_PATH_FIX@@$$|git_broken_path_fix $(SANE_TOOL_PATH_SQ)|'
1238 +BROKEN_PATH_FIX = 's|^\# @@BROKEN_PATH_FIX@@$$|git_broken_path_fix "$(SANE_TOOL_PATH_SQ)"|'
1239 PATH := $(SANE_TOOL_PATH):${PATH}
1240 else
1241 BROKEN_PATH_FIX = '/^\# @@BROKEN_PATH_FIX@@$$/d'