Rev 39 | Rev 41 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 39 | Rev 40 | ||
---|---|---|---|
Line 154... | Line 154... | ||
154 | 154 | ||
155 | cd /d "%addondir%" |
155 | cd /d "%addondir%" |
156 | if not "%svnpath%"=="0" if exist ".svn" svn update |
156 | if not "%svnpath%"=="0" if exist ".svn" svn update |
157 | cd /d "%addonhrpdir%" |
157 | cd /d "%addonhrpdir%" |
158 | if not "%svnpath%"=="0" if exist ".svn" svn update |
158 | if not "%svnpath%"=="0" if exist ".svn" svn update |
159 | set svnpath= |
- | |
160 | 159 | ||
161 | goto end |
160 | goto end |
162 | 161 | ||
163 | :novacagrp |
162 | :novacagrp |
164 | echo. |
163 | echo. |
Line 271... | Line 270... | ||
271 | call :grpchecksum |
270 | call :grpchecksum |
272 | call :grpchecksum_results |
271 | call :grpchecksum_results |
273 | goto novacagrp_return |
272 | goto novacagrp_return |
274 | 273 | ||
275 | :grpchecksum |
274 | :grpchecksum |
- | 275 | if not exist "%addondir%\utils\windows\win32\sha1sum.exe" ( |
|
- | 276 | echo "%addondir%\utils\windows\win32\sha1sum.exe" not found. |
|
- | 277 | goto :eof |
|
- | 278 | ) |
|
276 | echo ea0a9a77b9aee6edce76afa19eaea3a810fb2390 *vacation.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check - |
279 | echo ea0a9a77b9aee6edce76afa19eaea3a810fb2390 *vacation.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check - |
277 | if "%ERRORLEVEL%"=="0" set version=full |
280 | if "%ERRORLEVEL%"=="0" set version=full && goto :eof |
278 | if "%ERRORLEVEL%"=="1" set version=unknown |
281 | if "%ERRORLEVEL%"=="1" set version=unknown |
279 | goto :eof |
282 | goto :eof |
280 | 283 | ||
281 | :grpchecksum_results |
284 | :grpchecksum_results |
282 | if "%version%"=="full" echo VACATION.GRP checksum verified. |
285 | if "%version%"=="full" echo VACATION.GRP checksum verified. |
Line 426... | Line 429... | ||
426 | echo. |
429 | echo. |
427 | pause |
430 | pause |
428 | goto restart |
431 | goto restart |
429 | 432 | ||
430 | :checksum |
433 | :checksum |
- | 434 | if not exist "%addondir%\utils\windows\win32\sha1sum.exe" ( |
|
- | 435 | echo "%addondir%\utils\windows\win32\sha1sum.exe" not found. |
|
- | 436 | goto :eof |
|
- | 437 | ) |
|
431 | if not exist "%~2" goto :eof |
438 | if not exist "%~2" goto :eof |
432 | echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check - |
439 | echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check - |
433 | if "%ERRORLEVEL%"=="0" ( |
440 | if "%ERRORLEVEL%"=="0" ( |
434 | ren "%~2" "VacaOld_%addonver%_%~nx2" |
441 | ren "%~2" "VacaOld_%addonver%_%~nx2" |
435 | echo %~3 %~nx2 |
442 | echo %~3 %~nx2 |
Line 554... | Line 561... | ||
554 | pause |
561 | pause |
555 | goto end |
562 | goto end |
556 | 563 | ||
557 | :end |
564 | :end |
558 | echo. |
565 | echo. |
559 | set version= |
- | |
560 | set editor= |
- | |
561 | set xxx= |
- | |
562 | set dp= |
- | |
563 | set debug= |
- | |
564 | popd |
566 | popd |
565 | @title %ComSpec% |
567 | @title %ComSpec% |
566 | @color 07 |
568 | @color 07 |