#!/bin/bash

if printenv CLASSPATH | grep -q ';'
then
    JPATHSEP=';'
elif uname | grep -q -i 'CYGWIN'
then
    JPATHSEP=';'
else
    JPATHSEP=':'
fi

if test "$JPATHSEP" = ';'
then
    NEWPART=`cygpath -wa .`
else
    NEWPART=`pwd`
fi

CLASSPATH="${NEWPART}${JPATHSEP}${CLASSPATH}"
export CLASSPATH
