Rev 37 | Rev 39 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 37 | Rev 38 | ||
---|---|---|---|
Line 142... | Line 142... | ||
142 | ) else ( |
142 | ) else ( |
143 | start %exe%.exe %args% |
143 | start %exe%.exe %args% |
144 | ) |
144 | ) |
145 | 145 | ||
146 | set svnpath=0 |
146 | set svnpath=0 |
147 | for %%S in (svn.exe) do if exist "%%~dp$PATH:S" set svnpath=%%~dp$PATH:S |
147 | if "%svnpath%"=="0" if exist "%ProgramFiles%\SlikSvn\bin\svn.exe" set svnpath=%ProgramFiles%\SlikSvn\bin |
- | 148 | if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\SlikSvn\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\SlikSvn\bin |
|
- | 149 | if "%svnpath%"=="0" if exist "%ProgramFiles%\Subversion\bin\svn.exe" set svnpath=%ProgramFiles%\Subversion\bin |
|
- | 150 | if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\Subversion\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\Subversion\bin |
|
148 | if "%svnpath%"=="0" if exist "%ProgramFiles%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles%\TortoiseSVN\bin |
151 | if "%svnpath%"=="0" if exist "%ProgramFiles%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles%\TortoiseSVN\bin |
149 | if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\TortoiseSVN\bin |
152 | if "%svnpath%"=="0" if exist "%ProgramFiles(x86)%\TortoiseSVN\bin\svn.exe" set svnpath=%ProgramFiles(x86)%\TortoiseSVN\bin |
- | 153 | if "%svnpath%"=="0" for %%S in (svn.exe) do if exist "%%~dp$PATH:S" set svnpath=%%~dp$PATH:S |
|
150 | 154 | ||
151 | cd /d "%addondir%" |
155 | cd /d "%addondir%" |
152 | if not "%svnpath%"=="0" if exist ".svn" svn update |
156 | if not "%svnpath%"=="0" if exist ".svn" svn update |
153 | cd /d "%addonhrpdir%" |
157 | cd /d "%addonhrpdir%" |
154 | if not "%svnpath%"=="0" if exist ".svn" svn update |
158 | if not "%svnpath%"=="0" if exist ".svn" svn update |