mono / ngit

Automated jgit port to c#
261 stars 151 forks source link

Handle invalid paths in the 'PATH" env var #19

Closed alanmcgovern closed 12 years ago

alanmcgovern commented 12 years ago

There is a slim possibility that the PATH environment variable will not contain a valid path. In this scenario, an unhandled exception would get thrown in the static constructor which would render the library unusable.

Add this workaround while the root cause is tracked down.

alanmcgovern commented 12 years ago

I've updated this commit so that it includes the diff in cs.patch.