Merge pull request #469 from JanSchulz/windows-install

Use the default installation path in install.cmd
This commit is contained in:
hemanth.hm 2015-10-18 18:36:42 +05:30
commit 889a65883f

View file

@ -1,5 +1,9 @@
@ECHO OFF
SET PREFIX=C:\SCM\PortableGit\mingw64
:: default for Git for Windows 2.x
@if exist "%ProgramFiles%\Git" (
set PREFIX="%ProgramFiles%\Git\mingw64"
)
IF NOT "%~1"=="" SET PREFIX="%~1"
SET HTMLDIR=%PREFIX%\share\doc\git-doc
SET GITEXTRAS=%~dp0