Ignore:
Timestamp:
Jan 8, 2001, 8:54:22 PM (25 years ago)
Author:
bird
Message:

Added optional non-fatal flag to the copy function.

File:
1 edited

Legend:

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

    r4733 r4883  
    1 /* $Id: odin32pack.cmd,v 1.6 2000-12-03 07:24:37 bird Exp $
     1/* $Id: odin32pack.cmd,v 1.7 2001-01-08 19:54:22 bird Exp $
    22 *
    33 * Make the two zip files.
     
    113113 */
    114114Copy: procedure expose sStartDir
    115     parse arg sSrc, sDst
     115    parse arg sSrc, sDst, fNotFatal
    116116
    117117    /* if no sDst set default */
    118118    if (sDst = '') then sDst='.';
     119    if (fNotFatal = '') then fNotFatal = 0;
     120
    119121    'copy' sSrc sDst
    120     if (rc <> 0) then
     122    if (rc <> 0 & \fNotFatal) then
    121123    do
    122124        call failure rc, 'Copying' sSrc 'to' sDst 'failed.'
Note: See TracChangeset for help on using the changeset viewer.