Skip to content

Commit c444bf8

Browse files
jeffhostetlergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5f3ff78 commit c444bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ endif
12351235

12361236
ifdef SANE_TOOL_PATH
12371237
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)"|'
12391239
PATH := $(SANE_TOOL_PATH):${PATH}
12401240
else
12411241
BROKEN_PATH_FIX = '/^\# @@BROKEN_PATH_FIX@@$$/d'

0 commit comments

Comments
 (0)