Changeset 4936 for trunk/tools/DailyBuild
- Timestamp:
- Jan 12, 2001, 4:05:50 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/DailyBuild/odin32pack.cmd
r4928 r4936 1 /* $Id: odin32pack.cmd,v 1.1 1 2001-01-11 07:57:56bird Exp $1 /* $Id: odin32pack.cmd,v 1.12 2001-01-12 15:05:50 bird Exp $ 2 2 * 3 3 * Make the two zip files. … … 12 12 sStartDir = directory(); 13 13 14 if (0) then do 14 15 /* 15 16 * Make .WPI files. … … 23 24 if (RC <> 0) then call failure rc, 'failed to move the *.wpi ->' sStartDir; 24 25 call ChDir '..\..'; 25 26 end 26 27 27 28 /* … … 69 70 /* Copy root files into the pack directory. */ 70 71 call copy sRoot'\bin\odin.ini' 71 call copy sRoot'\doc\odin.ini.txt' 72 /* call copy sRoot'\doc\odin.ini.txt' */ 72 73 call copy sRoot'\LICENSE.txt'; 73 74 call copy sRoot'\ChangeLog'; … … 88 89 do 89 90 rc2 = rc; 90 'ren .\system32' sRoot'\'sDir91 call backout sDir, sType, sRoot; 91 92 call failure rc2, 'renaming system32\glide -> ..\glide_tmp failed'; 92 93 end 93 94 94 95 call copy sRoot'\bin\wgss50.dll', 'system32\wgss50.dll'; 96 if (pos('debug', sType) > 0) then 97 do 98 call copy sRoot'\bin\release\odincrt.dll', 'system32\odincrt.dll' 99 call copy sRoot'\bin\release\odincrt.sym', 'system32\odincrt.sym' 100 end 95 101 96 102 say 'zip -9 -R' sZipFile '* -xCVS'; … … 99 105 do 100 106 rc2 = rc; 101 'ren ..\glide_tmp .\system32\glide' 102 'ren .\system32' sRoot'\'sDir 107 call backout sDir, sType, sRoot; 103 108 call failure rc2, 'zip...'; 104 109 end 105 'ren ..\glide_tmp .\system32\glide' 106 if (RC <> 0) then call failure rc, 'renaming glide_tmp failed'; 107 'ren .\system32' sRoot'\'sDir 108 if (RC <> 0) then call failure rc, 'renaming' sDir'->system32 failed'; 110 111 /* resotre */ 112 call backout sDir, sType, sRoot; 109 113 110 114 /* restore directory */ 111 115 call directory(sRoot); 116 return; 117 118 /* backout procedure for packdir */ 119 backout: procedure; 120 parse arg sDir, sType, sRoot 121 if (pos('debug', sType) > 0) then 122 do 123 'del system32\odincrt.dll' 124 'del system32\odincrt.sym' 125 end 126 'ren ..\glide_tmp .\system32\glide' 127 'ren .\system32' sRoot'\'sDir 112 128 return; 113 129
Note:
See TracChangeset
for help on using the changeset viewer.