On branch master updated getLocalDataDirectory.sh to work with cygwin and mingw.