if [ `builtin type -p cygpath` ] then [ ! -z "${SOURCE_ROOT}" ] && export SOURCE_ROOT=$(cygpath -u ${SOURCE_ROOT}) fi [ -z "${SOURCE_ROOT}" ] && [ -d "${HOME}/src" ] && export SOURCE_ROOT=${HOME}/src [ -z "${SOURCE_ROOT}" ] && [ -d "/c/src" ] && export SOURCE_ROOT=/c/src [ -z "${SOURCE_ROOT}" ] && [ -d "/d/src" ] && export SOURCE_ROOT=/d/src [ -z "${SOURCE_ROOT}" ] && [ -d "/e/src" ] && export SOURCE_ROOT=/e/src [ -d "${SOURCE_ROOT}/svn" ] && export SVN_SOURCE_DIR=${SOURCE_ROOT}/svn