mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Use the default installation path in install.cmd
This commit is contained in:
parent
f799e96910
commit
546ddf78af
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue