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.

34 lines
916 B

  1. @echo off
  2. REM ------------------------------------------------------------------
  3. REM
  4. REM deletewrapper.cmd
  5. REM Calls deletebuild.cmd as the last step on pbuild.dat
  6. REM This replaces the call to deletebuild.cmd in localrel.cmd
  7. REM
  8. REM Copyright (c) Microsoft Corporation. All rights reserved.
  9. REM
  10. REM ------------------------------------------------------------------
  11. perl -x "%~f0" %*
  12. goto :EOF
  13. #!perl
  14. use strict;
  15. use lib $ENV{RAZZLETOOLPATH} . "\\PostBuildScripts";
  16. use lib $ENV{RAZZLETOOLPATH};
  17. use PbuildEnv;
  18. use ParseArgs;
  19. use comlib;
  20. sub Usage { print<<USAGE; exit(1) }
  21. deletewrapper
  22. Deletewrapper takes no arguments. This is a thin wrapper for
  23. deletebuild.cmd. All this script does is run the command:
  24. deletebuild.cmd AUTO /l <LANG>
  25. USAGE
  26. parseargs('?' => \&Usage);
  27. my ( $cmdLine ) = "deletebuild.cmd AUTO /l $ENV{Lang}";
  28. &comlib::ExecuteSystem( $cmdLine );