coapp/devtools — Issue #5: ptk does not find git.exe/git.cmd
Author: darkstar
Created: 2012-02-11 20:42:48+00:00
State: open

I have git.exe and git.cmd installed and in my %PATH%. However, ptk always spits out this error:

```
D:\Devel\CoApp\coapp>ext\tools\ptk show-tools
Outercurve Foundation pTk Version 1.1.2.1300 for x64
Copyright (c) Garrett Serack, CoApp Contributors 2010-2011. All rights reserved
CoApp portingToolkit for porting apps
-------------------------------------------------------------------------------
[One moment.. Scanning for utility(git.cmd/none/0.0)]
[One moment.. Scanning for utility(git.exe/none/0.0)]

Error:Can not find git.cmd or git.exe (required to perform verification.)

D:\Devel\CoApp\coapp>where git.exe
D:\Bin\Git\bin\git.exe

D:\Devel\CoApp\coapp>where git.cmd
D:\Bin\Git\cmd\git.cmd

D:\Devel\CoApp\coapp>git --version
git version 1.7.7.1.msysgit.0

D:\Devel\CoApp\coapp>echo %PATH%
C:\Program Files (x86)\Microsoft F#\v4.0\;C:\Program Files (x86)\Microsoft Visua
l Studio 10.0\VSTSDB\Deploy;C:\Program Files (x86)\Microsoft Visual Studio 10.0\
Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;C:\Progr
am Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Windows\Microsoft.N
ET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\VCPackages;C:\Program Files (x86)\HTML He
lp Workshop;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Perfo
rmance Tools;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 T
ools;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;C:\Program Files (x
86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\Sy
stem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Bin\git\cmd;D:\Bin\Gi
t\Bin;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\Microsoft SQL Server\10
0\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program F
iles\Microsoft SQL Server\100\DTS\Binn\;D:\Bin;D:\bin\mingw\bin;D:\bin\cmake\bin
;D:\bin\SVN\bin;C:\Program Files\Microsoft Network Monitor 3\;D:\Bin\Python27;D:
\Devel\git\qt\bin;D:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Fil
es\Microsoft Windows Performance Toolkit\
D:\Devel\CoApp\coapp>
```