Skip to content

Commit cbe6c70

Browse files
committed
Disabled SHELL=dash on Windows due to invalid path backslash handling
Calling an executable via full path with Windows backslashes fails in dash.
1 parent b211acf commit cbe6c70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/run-make-fulldeps/tools.mk

+2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ DIFF := diff -u --strip-trailing-cr
3030
# whenever possible. Most developer platforms include `/bin/dash`, but to ensure
3131
# tests still work when `/bin/dash`, if not available, this `SHELL` override is
3232
# conditional:
33+
ifndef IS_WINDOWS # dash interprets backslashes in executable paths incorrectly
3334
ifneq (,$(wildcard /bin/dash))
3435
SHELL := /bin/dash
3536
endif
37+
endif
3638

3739
# This is the name of the binary we will generate and run; use this
3840
# e.g. for `$(CC) -o $(RUN_BINFILE)`.

0 commit comments

Comments
 (0)