Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 1cc435d

Browse files
author
Vincent Demeester
authored
Merge pull request #215 from mat007/fix-platform-detection
Fix shell detection
2 parents 74f33d9 + 2e104f6 commit 1cc435d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

vars.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ CWD = $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
1515
# Used by ci-gradle-test target
1616
DOCKERAPP_BINARY ?= $(CWD)/bin/$(BIN_NAME)-linux
1717

18-
ifeq ($(shell echo "check_quotes"),"check_quotes")
18+
WINDOWS := no
19+
ifneq ($(filter cmd.exe powershell.exe,$(subst /, ,$(SHELL))),)
1920
WINDOWS := yes
2021
BUILDTIME := unknown
21-
else
22-
WINDOWS := no
2322
endif
2423

2524
ifeq ($(BUILDTIME),)

0 commit comments

Comments
 (0)