From 633fa62bde9357a2a454534004bc8c5bba4034da Mon Sep 17 00:00:00 2001 From: andrlos <80903703+andrlos@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:11:18 +0100 Subject: [PATCH] cygwin support added (#7) Co-authored-by: jandrlik --- 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