Skip to content

Commit 633fa62

Browse files
andrlosjandrlik
andauthored
cygwin support added (#7)
Co-authored-by: jandrlik <[email protected]>
1 parent 236937b commit 633fa62

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

testHeadlessComponents.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ elif [ "$platform" == "Darwin" ]; then
3030
JAVA=$JAVA_HOME/bin/java
3131
#JAVA=java
3232
elif [ "${platform#"MINGW64_NT"}" != "$platform" ]; then
33-
# Windows (Cygwin) specific code
33+
# Windows (MinGW) specific code
34+
OS="windows"
35+
JAVA=$JAVA_HOME/bin/java
36+
elif [ "${platform#"CYGWIN_NT"}" != "$platform" ]; then
37+
# Windows (CygWin) specific code
3438
OS="windows"
3539
JAVA=$JAVA_HOME/bin/java
3640
else

0 commit comments

Comments
 (0)