composer/composer — pull request #3184 by Wirone (2014-08-03 22:36:08+00:00)
Title: generateUnixyProxyCode() properly supporting Cygwin & Git Bash

Based on Composer's proxy: https://github.com/composer/windows-setup/blob/master/src/shims/composer

Previous `generateUnixyProxyCode()`'s version was generating unixy-proxy file which was causing problems:

```
$ phpunit
Could not open input file: /cygdrive/c/Users//AppData/Roaming/Composer/vendor/phpunit/phpunit/phpunit
```