From 2f6c42cde1c99ca3cfdc0678d9e37425f39e12bc Mon Sep 17 00:00:00 2001 From: jandrlik Date: Mon, 26 Feb 2024 20:46:47 +0100 Subject: [PATCH] cygwin support added --- testHeadlessComponents.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testHeadlessComponents.sh b/testHeadlessComponents.sh index 447779f..efd47b6 100755 --- a/testHeadlessComponents.sh +++ b/testHeadlessComponents.sh @@ -30,7 +30,11 @@ elif [ "$platform" == "Darwin" ]; then JAVA=$JAVA_HOME/bin/java #JAVA=java elif [ "${platform#"MINGW64_NT"}" != "$platform" ]; then - # Windows (Cygwin) specific code + # Windows (MinGW) specific code + OS="windows" + JAVA=$JAVA_HOME/bin/java +elif [ "${platform#"CYGWIN_NT"}" != "$platform" ]; then + # Windows (CygWin) specific code OS="windows" JAVA=$JAVA_HOME/bin/java else