Changeset 486


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

Samba Server 3.5: build script update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/build.cmd

    r485 r486  
    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.2 from 08.09.2009 Herwig (a lot enhancements) */
     6/* version 0.3.0 from 17.08.2010 Silvan (redone a lot) */
     7/* version 0.3.1 from 20.08.2010 Silvan (added version.ecs check) */
    28
    39/* load the sysfuncs if not already loaded */
     
    814end
    915
     16/* init the version string (don't forget to change) */
     17version = "0.3.1"
     18version_date = "20.08.2010"
     19
    1020
    1121'@echo off'
    1222parse upper arg cmdline
    1323
     24say "Samba for eCS (OS/2) build script v"   || version || " from " || version_date
     25
     26
    1427/* No parameter or HELP -> display usage */
    1528if pos("HELP", cmdline) > 0 | cmdline = "" then do
    16     say "Samba for eCS (OS/2) build script"
    1729    say
    1830    say "Valid commands are:"
     
    127139        ok = stream(cacheFile, 'c', 'close');
    128140
    129 /* run configure */ 
     141/* run configure */
    130142    address cmd 'ksh ./configure --enable-pie=no --prefix=/samba --disable-shared --with-acl-support --cache-file=build.cache 2>&1 | tee configure.log'
    131143        address cmd 'ENDLOCAL'
     
    175187    VerFile = "VERSION.ECS"
    176188
     189    /* is the file available */
     190    ok = stream(VerFile, 'c', 'QUERY EXISTS')
     191    if ok = "" then do
     192        say "Please create a " || VerFile || " based on VERSION.EC_"
     193        exit 0
     194    end
     195
    177196    /* Samba Version file */
    178197    Version = "VERSION"
     
    262281    else do
    263282        say "no dll found!"
    264         return -1
    265     end
    266  
     283        return -1
     284        end
Note: See TracChangeset for help on using the changeset viewer.