summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2019-06-19 21:06:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-20 21:03:06 (GMT)
commitc444bf8cb6a881f4c249e904a12e201dae40b7d2 (patch)
tree10946f17135f8b7d62f30e70e342a5e179e95aff /Makefile
parent5f3ff7808132a1a4edae9628b0861bd18db9a4d0 (diff)
downloadgit-c444bf8cb6a881f4c249e904a12e201dae40b7d2.zip
git-c444bf8cb6a881f4c249e904a12e201dae40b7d2.tar.gz
git-c444bf8cb6a881f4c249e904a12e201dae40b7d2.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f58bf14..c60424e 100644
--- 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'