source: branches/v2.9/build.CMD@ 130

Last change on this file since 130 was 2, checked in by stevenhl, 8 years ago

Import sources from cwmm-full.zip dated 2005-03-21

File size: 602 bytes
Line 
1/* */
2call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
3call SysLoadFuncs
4
5buildInclude="build.inc"
6DEF_LINE="BUILD_STRING = -Build "
7
8if stream(buildInclude, 'C','query exists')="" THEN
9'@echo 'DEF_LINE' 0 > 'buildInclude
10
11theLine=LINEIN(buildInclude)
12call stream buildInclude, 'C', 'close'
13buildNr=WORD(theLine, 4)
14IF buildNr="" THEN buildNr=0
15buildNr=buildNr+1
16
17SAY "New Build: "buildNr
18SAY VALUE("CWMMRELEASE", ,"OS2ENVIRONMENT")
19'@type NUL > 'buildInclude
20call LINEOUT buildInclude, DEF_LINE||buildNr||' '||DATE(E)
21call stream buildInclude, 'C', 'close'
22SAY
23Exit(0)
Note: See TracBrowser for help on using the repository browser.