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.

27 lines
993 B

  1. BEGIN {
  2. FS="\t"
  3. }
  4. {
  5. if ($0 !~ /^;/)
  6. if ($2 != "" && $2 != ".")
  7. {
  8. printf "echo Releasing: %s\%s\%s.%s\n",$1,$7,$2,$3
  9. printf "echo to: %%_tgtType__objType_RelDir%%\n"
  10. printf "cd %s\n",$1
  11. printf "if exist %s\%s.%s copy %s\%s.%s %%_tgtType__objType_RelDir%%\n"\
  12. ,$7,$2,$3,$7,$2,$3
  13. printf "if exist %s\%s.map copy %s\%s.map %%_tgtType__objType_RelDir%%\n"\
  14. ,$7,$2,$7,$2
  15. printf "if exist %s\%s.sym copy %s\%s.sym %%_tgtType__objType_RelDir%%\n"\
  16. ,$7,$2,$7,$2
  17. printf "if exist %s\*.hlp copy %s\*.hlp %%_tgtType__objType_RelDir%%\n"\
  18. ,$7,$7
  19. printf "if exist help\*.hlp copy help\*.hlp %%_tgtType__objType_RelDir%%\n"
  20. printf "if exist *.hlp copy *.hlp %%_tgtType__objType_RelDir%%\n"
  21. printf "if exist _tgtType__objType_.log copy _tgtType__objType_.log %%_tgtType__objType_RelDir%%\\%s.log\n",$2
  22. }
  23. }