Installer, Win: use svn in path

git-svn-id: trunk@39444 -
This commit is contained in:
martin 2012-12-05 14:48:47 +00:00
parent 8a517f537e
commit 26787632da

View File

@ -63,8 +63,12 @@ SET SVN="%ProgramFiles%\subversion\bin\svn.exe"
if not exist %SVN% SET SVN="%ProgramFiles%\TortoiseSVN\bin\svn.exe"
if not exist %SVN% SET SVN="%ProgramFiles32bits%\subversion\bin\svn.exe"
if not exist %SVN% SET SVN="%ProgramFiles32bits%\TortoiseSVN\bin\svn.exe"
:: Use SVN in Path
if not exist %SVN% SET SVN=svn.exe
GOTO SVN_DONE
:SVN_BY_USER
if not exist %SVN% GOTO ERROR_SVN
:SVN_DONE
::---------------------------------------------------------------------
:: Path to the svnversion executable
@ -77,8 +81,11 @@ SET SVNVER="%ProgramFiles%\subversion\bin\svnversion.exe"
if not exist %SVNVER% SET SVNVER="%ProgramFiles%\TortoiseSVN\bin\svnversion.exe"
if not exist %SVNVER% SET SVNVER="%ProgramFiles32bits%\subversion\bin\svnversion.exe"
if not exist %SVNVER% SET SVNVER="%ProgramFiles32bits%\TortoiseSVN\bin\svnversion.exe"
if not exist %SVNVER% SET SVNVER=svnversion.exe
GOTO SVNVER_DONE
:SVNVER_BY_USER
if not exist %SVNVER% GOTO ERROR_SVN
:SVNVER_DONE
::---------------------------------------------------------------------
:: Path to build directory.