Skip to content

Commit fcd94e5

Browse files
o Updated to stop detecting Windows systems as family DOS.
Fixes #7
1 parent 2644af5 commit fcd94e5

File tree

1 file changed

+5
-1
lines changed
  • src/main/java/org/codehaus/plexus/util

1 file changed

+5
-1
lines changed

src/main/java/org/codehaus/plexus/util/Os.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,11 @@ else if ( family.equalsIgnoreCase( FAMILY_NETWARE ) )
314314
}
315315
else if ( family.equalsIgnoreCase( FAMILY_DOS ) )
316316
{
317-
isFamily = PATH_SEP.equals( ";" ) && !isFamily( FAMILY_NETWARE );
317+
isFamily = PATH_SEP.equals( ";" )
318+
&& !isFamily( FAMILY_NETWARE )
319+
&& !isFamily( FAMILY_WINDOWS )
320+
&& !isFamily( FAMILY_WIN9X );
321+
318322
}
319323
else if ( family.equalsIgnoreCase( FAMILY_MAC ) )
320324
{

0 commit comments

Comments
 (0)