Ignore:
Timestamp:
Aug 20, 2010, 11:14:09 AM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.3: build script update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/build.cmd

    r460 r487  
    11/* Samba build script for eCS (OS/2) */
     2
     3/* version history */
     4/* version 0.1.0 from 09.04.2010 Herwig (first edition) */
     5/* version 0.2.0 from 09.06.2010 Herwig (a lot enhancements) */
     6/* version 0.3.0 from 20.08.2010 Silvan (added version.ecs check and more) */
     7
     8/* load the sysfuncs if not already loaded */
     9if (RxFuncQuery('SysLoadFuncs') = 1) then
     10do
     11    call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs';
     12    call SysLoadFuncs;
     13end
     14
     15/* init the version string (don't forget to change) */
     16version = "0.3.0"
     17version_date = "20.08.2010"
    218
    319'@echo off'
    420parse upper arg cmdline
    521
     22say "Samba for eCS (OS/2) build script v"  || version || " from " || version_date
     23
    624/* No parameter or HELP -> display usage */
    725if pos("HELP", cmdline) > 0 | cmdline = "" then do
    8     say "Samba for eCS (OS/2) build script"
    926    say
    1027    say "Valid commands are:"
     
    143160    VerFile = "VERSION.ECS"
    144161
     162    /* is the file available */
     163    ok = stream(VerFile, 'c', 'QUERY EXISTS')
     164    if ok = "" then do
     165        say "Please create a " || VerFile || " based on VERSION.EC_"
     166        exit 0
     167    end
     168
    145169    /* Samba Version file */
    146170    Version = "VERSION"
Note: See TracChangeset for help on using the changeset viewer.