Ignore:
Timestamp:
Jan 12, 2001, 4:05:50 PM (25 years ago)
Author:
bird
Message:

Added odincrt.dll to debug release (to make wgss50.dll happy).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/DailyBuild/odin32pack.cmd

    r4928 r4936  
    1 /* $Id: odin32pack.cmd,v 1.11 2001-01-11 07:57:56 bird Exp $
     1/* $Id: odin32pack.cmd,v 1.12 2001-01-12 15:05:50 bird Exp $
    22 *
    33 * Make the two zip files.
     
    1212    sStartDir = directory();
    1313
     14if (0) then do
    1415    /*
    1516     * Make .WPI files.
     
    2324    if (RC <> 0) then call failure rc, 'failed to move the *.wpi ->' sStartDir;
    2425    call ChDir '..\..';
    25 
     26end
    2627
    2728    /*
     
    6970    /* Copy root files into the pack directory. */
    7071    call copy sRoot'\bin\odin.ini'
    71     call copy sRoot'\doc\odin.ini.txt'
     72/*    call copy sRoot'\doc\odin.ini.txt' */
    7273    call copy sRoot'\LICENSE.txt';
    7374    call copy sRoot'\ChangeLog';
     
    8889    do
    8990        rc2 = rc;
    90         'ren .\system32' sRoot'\'sDir
     91        call backout sDir, sType, sRoot;
    9192        call failure rc2, 'renaming system32\glide -> ..\glide_tmp failed';
    9293    end
    9394
    9495    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
    95101
    96102    say 'zip -9 -R' sZipFile '* -xCVS';
     
    99105    do
    100106        rc2 = rc;
    101         'ren ..\glide_tmp .\system32\glide'
    102         'ren .\system32' sRoot'\'sDir
     107        call backout sDir, sType, sRoot;
    103108        call failure rc2, 'zip...';
    104109    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;
    109113
    110114    /* restore directory */
    111115    call directory(sRoot);
     116    return;
     117
     118/* backout procedure for packdir */
     119backout: 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
    112128    return;
    113129
Note: See TracChangeset for help on using the changeset viewer.