Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
716 B

  1. @if NOT DEFINED _echo echo off
  2. setlocal
  3. if NOT DEFINED SDXROOT echo You must set %%SDXROOT%% to the full path of your enlistment root, ie D:\NT & goto :EOF
  4. if NOT DEFINED RazzleToolPath echo You must run this script from a RAZZLE window & goto :EOF
  5. set FXDIR=%~dp0
  6. :GetArgs
  7. if ()==(%1) goto :Start
  8. if /i (//d)==(%1) (
  9. set FXOPT=-d
  10. ) else (
  11. set FXARG=%FXARG% %1
  12. )
  13. shift & goto :GetArgs
  14. :Start
  15. pushd %FXDIR%
  16. sd sync updfx.p* buddy.cmd
  17. if errorlevel 1 echo Please resolve sync problem(s) and try again & goto :EOF
  18. perl %FXOPT% updfx.pl %FXARG%
  19. if NOT DEFINED FXARG echo - You can run this script under the debugger if you include //d in your arg list.
  20. popd
  21. :EOF
  22. endlocal