Changeset 793


Ignore:
Timestamp:
Aug 16, 2013, 11:32:39 AM (12 years ago)
Author:
Herwig Bauernfeind
Message:

build.cmd 0.3.13 (fixed rev)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/build.cmd

    r787 r793  
    2424                                         
    2525/* load the sysfuncs if not already loaded */
    26 if (RxFuncQuery('SysLoadFuncs') = 1) then
    27 do
    28     call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs';
    29     call SysLoadFuncs;
     26if (RxFuncQuery('SysLoadFuncs') = 1) then do
     27    call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
     28    call SysLoadFuncs
    3029end
    3130
    3231/* init the version string (don't forget to change) */
    33 version = "0.3.13"
     32version      = "0.3.13"
    3433version_date = "15.08.2013"
    3534
     
    114113if pos("BRAND", cmdline) > 0 then do
    115114    Brand = "YES"
    116     build_parms = build_parms||' brand'   
     115    build_parms = build_parms||' BRAND'   
    117116end
    118117if pos("CONF", cmdline) > 0 then do
    119118    Conf = "YES"
    120     build_parms = build_parms||' conf'   
     119    build_parms = build_parms||' CONF'   
    121120end
    122121
     
    207206
    208207/* Recreate build_anomalies.log */
    209 ok = SysFileDelete("build_anomalies.log")
     208anomalylog = "build_anomalies.log"
     209ok = SysFileDelete(anomalylog)
    210210do until lines(logFile) = 0
    211211    buildlogline = linein(logFile)
     
    217217        when left(buildlogline,6)  = "Using " then iterate
    218218        when left(buildlogline,6)  = "      " then iterate
    219         otherwise call lineout "build_anomalies.log", buildlogline
     219        otherwise call lineout anomalylog, buildlogline
    220220    end
    221221end
     
    226226reqsec = reqtime//60
    227227say "All done, took "format(reqmin,,0)' min 'format(reqsec,,0)" sec."
     228ok = stream(logfile,'c','open')
     229ok = stream(logfile,'c','seek <0')
    228230call lineout logFile, "All done, took "format(reqmin,,0)' min 'format(reqsec,,0)" sec."
     231ok = stream(logfile,'c','close')
    229232exit 0
    230233
     
    259262        if left(eCSVer.I,14) = "MAINTAINED_BY=" then do
    260263            parse var eCSver.I . '='maintainedBy
    261             maintainedBy = 'Maintained by:    "' || strip(maintainedBy,,'"') || '"'
     264            maintainedBy = '"Maintained by: ' || strip(maintainedBy,,'"') || '"'
    262265        end
    263266    end
     
    297300    ok = SysFileDelete(NewVersion)
    298301    verstring = suffix'-'Major'.'minor'.'release'.'revision'-'vendor'-'date('S')
    299     say 'Samba branded as: "'verstring'"'
     302    say 'Samba branded as: '
     303    say '"'verstring'"'
    300304    say maintainedBy
    301305    say
Note: See TracChangeset for help on using the changeset viewer.