summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/inc/startup/wnt/macros.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/solenv/inc/startup/wnt/macros.mk b/solenv/inc/startup/wnt/macros.mk
index 1834bfd538c4..e6b57692320e 100644
--- a/solenv/inc/startup/wnt/macros.mk
+++ b/solenv/inc/startup/wnt/macros.mk
@@ -23,6 +23,7 @@ SHELL *:= $(COMSPEC)
SHELLFLAGS *:= $(SWITCHAR)c
GROUPFLAGS *:= $(SHELLFLAGS)
SHELLMETAS *:= "<>|
+# Fix syntax highlighting: "
GROUPSUFFIX *:= .bat
DIVFILE *= $(TMPFILE:s,/,\,)
RM *= del
@@ -36,10 +37,17 @@ SHELL *:= $(COMSPEC)
.EXPORT : PWD
.ELSE # Non 4nt case
-# See iz50689 why -f is needed.
+
+.IF $(USE_SHELL) == bash
+ SHELLFLAGS *:= -c
+.ELSE
+ # See iz50689 why -f is needed.
SHELLFLAGS *:= -fc
+.ENDIF # $(USE_SHELL) == bash
+
GROUPFLAGS *:=
SHELLMETAS *:= *";?<>|()&][$$\#`'
+# Fix syntax highlighting: "
GROUPSUFFIX *:= .csh
# This is hopefully not used. Only in: dmake/msdos/spawn.c
# .MKSARGS *:= yes