| Index: ninja
 | 
| diff --git a/ninja b/ninja
 | 
| index 0b1f410d72bbd3b8662acad952ef95a1b17d53d9..eda784284c8b05cb8640e5397c777c39c0b7f62d 100755
 | 
| --- a/ninja
 | 
| +++ b/ninja
 | 
| @@ -11,9 +11,9 @@ if [ "${OS}" = "Linux" ]; then
 | 
|  elif [ "${OS}" = "Darwin" ]; then
 | 
|    exec ninja-mac "$@"
 | 
|  elif [[ ${OS} == CYGWIN* ]]; then
 | 
| -  exec cmd.exe /c `cygpath -t windows $0`.bat "$@"
 | 
| +  exec cmd.exe /c `cygpath -t windows $0`.exe "$@"
 | 
|  elif [[ ${OS} == MINGW32* ]]; then
 | 
| -  cmd.exe //c $0.bat "$@"
 | 
| +  cmd.exe //c $0.exe "$@"
 | 
|  else
 | 
|    echo "Unsupported OS ${OS}"
 | 
|    exit 1
 | 
| 
 |