Use the default installation path in install.cmd

This commit is contained in:
Jan Schulz 2015-10-17 12:25:14 +02:00
parent f799e96910
commit 546ddf78af

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