Skip to content

Commit

Permalink
o Updated to stop detecting Windows systems as family DOS.
Browse files Browse the repository at this point in the history
Fixes #7
  • Loading branch information
ChristianSchulte committed May 7, 2016
1 parent 2644af5 commit fcd94e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/codehaus/plexus/util/Os.java
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,11 @@ else if ( family.equalsIgnoreCase( FAMILY_NETWARE ) )
}
else if ( family.equalsIgnoreCase( FAMILY_DOS ) )
{
isFamily = PATH_SEP.equals( ";" ) && !isFamily( FAMILY_NETWARE );
isFamily = PATH_SEP.equals( ";" )
&& !isFamily( FAMILY_NETWARE )
&& !isFamily( FAMILY_WINDOWS )
&& !isFamily( FAMILY_WIN9X );

}
else if ( family.equalsIgnoreCase( FAMILY_MAC ) )
{
Expand Down

0 comments on commit fcd94e5

Please sign in to comment.