Changeset 4993 for trunk/tools/DailyBuild
- Timestamp:
- Jan 20, 2001, 7:22:47 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/DailyBuild/odin32bldnr.cmd
r4916 r4993 1 /* $Id: odin32bldnr.cmd,v 1. 3 2001-01-10 13:49:52bird Exp $1 /* $Id: odin32bldnr.cmd,v 1.4 2001-01-20 18:22:47 bird Exp $ 2 2 * 3 3 * Build number update script. … … 38 38 do 39 39 /* 40 * Scan the versionos2.h file for ODIN32_BUILD_NR.40 * Scan the odinbuild.h file for ODIN32_BUILD_NR. 41 41 */ 42 sOut = ' versionos2.h';43 sIn = ' versionos2.h.backup';44 call SysFileDelete(' versionos2.h.backup');42 sOut = 'odinbuild.h'; 43 sIn = 'odinbuild.h.backup'; 44 call SysFileDelete('odinbuild.h.backup'); 45 45 'copy' sOut sIn; 46 46 if (rc) then call failure rc, 'backup copy failed'; 47 call SysFileDelete(' versionos2.h');47 call SysFileDelete('odinbuild.h'); 48 48 49 49 rcIn = stream(sIn, 'c', 'open read'); … … 84 84 * Commit the build nr. file. 85 85 */ 86 'cvs commit -m "Daily build - 'Date('S')'" versionos2.h';87 if (rc <> 0) then call failed rc, 'failed to commit versionos2.h'86 'cvs commit -m "Daily build - 'Date('S')'" odinbuild.h'; 87 if (rc <> 0) then call failed rc, 'failed to commit odinbuild.h' 88 88 end 89 89 else
Note:
See TracChangeset
for help on using the changeset viewer.