Subversion Repositories nw_plus

Rev

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 155... Line 155...
155
155
156
cd /d "%addondir%"
156
cd /d "%addondir%"
157
if not "%svnpath%"=="0" if exist ".svn" svn update
157
if not "%svnpath%"=="0" if exist ".svn" svn update
158
cd /d "%addonhrpdir%"
158
cd /d "%addonhrpdir%"
159
if not "%svnpath%"=="0" if exist ".svn" svn update
159
if not "%svnpath%"=="0" if exist ".svn" svn update
160
set svnpath=
-
 
161
160
162
goto end
161
goto end
163
162
164
:nonwgrp
163
:nonwgrp
165
echo.
164
echo.
Line 184... Line 183...
184
call :grpchecksum
183
call :grpchecksum
185
call :grpchecksum_results
184
call :grpchecksum_results
186
goto nonwgrp_return
185
goto nonwgrp_return
187
186
188
:grpchecksum
187
:grpchecksum
-
 
188
if not exist "%addondir%\utils\windows\win32\sha1sum.exe" (
-
 
189
echo "%addondir%\utils\windows\win32\sha1sum.exe" not found.
-
 
190
goto :eof
-
 
191
)
189
echo a6728f621f121f9db02ee67c39efdbb5eea95711 *nwinter.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
192
echo a6728f621f121f9db02ee67c39efdbb5eea95711 *nwinter.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
190
if "%ERRORLEVEL%"=="0" set version=full
193
if "%ERRORLEVEL%"=="0" set version=full && goto :eof
191
if "%ERRORLEVEL%"=="1" echo 1b33b2cbb7101b5b18b15855392f55575413ecc3 *nwinter.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
194
if "%ERRORLEVEL%"=="1" echo 1b33b2cbb7101b5b18b15855392f55575413ecc3 *nwinter.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
192
if "%ERRORLEVEL%"=="0" set version=demo
195
if "%ERRORLEVEL%"=="0" set version=demo && goto :eof
193
if "%ERRORLEVEL%"=="1" set version=unknown
196
if "%ERRORLEVEL%"=="1" set version=unknown
194
goto :eof
197
goto :eof
195
198
196
:grpchecksum_results
199
:grpchecksum_results
197
if "%version%"=="full" echo NWINTER.GRP checksum verified.
200
if "%version%"=="full" echo NWINTER.GRP checksum verified.
Line 313... Line 316...
313
echo.
316
echo.
314
pause
317
pause
315
goto restart
318
goto restart
316
319
317
:checksum
320
:checksum
-
 
321
if not exist "%addondir%\utils\windows\win32\sha1sum.exe" (
-
 
322
echo "%addondir%\utils\windows\win32\sha1sum.exe" not found.
-
 
323
goto :eof
-
 
324
)
318
if not exist "%~2" goto :eof
325
if not exist "%~2" goto :eof
319
echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
326
echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
320
if "%ERRORLEVEL%"=="0" (
327
if "%ERRORLEVEL%"=="0" (
321
ren "%~2" "NWOld_%addonver%_%~nx2"
328
ren "%~2" "NWOld_%addonver%_%~nx2"
322
echo %~3 %~nx2
329
echo %~3 %~nx2
Line 431... Line 438...
431
pause
438
pause
432
goto end
439
goto end
433
440
434
:end
441
:end
435
echo.
442
echo.
436
set version=
-
 
437
set editor=
-
 
438
set xxx=
-
 
439
set dp=
-
 
440
set debug=
-
 
441
popd
443
popd
442
@title %ComSpec%
444
@title %ComSpec%
443
@color 07
445
@color 07