Changeset 486
- Timestamp:
- Aug 20, 2010, 11:12:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/build.cmd
r485 r486 1 1 /* 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) */ 2 8 3 9 /* load the sysfuncs if not already loaded */ … … 8 14 end 9 15 16 /* init the version string (don't forget to change) */ 17 version = "0.3.1" 18 version_date = "20.08.2010" 19 10 20 11 21 '@echo off' 12 22 parse upper arg cmdline 13 23 24 say "Samba for eCS (OS/2) build script v" || version || " from " || version_date 25 26 14 27 /* No parameter or HELP -> display usage */ 15 28 if pos("HELP", cmdline) > 0 | cmdline = "" then do 16 say "Samba for eCS (OS/2) build script"17 29 say 18 30 say "Valid commands are:" … … 127 139 ok = stream(cacheFile, 'c', 'close'); 128 140 129 /* run configure */ 141 /* run configure */ 130 142 address cmd 'ksh ./configure --enable-pie=no --prefix=/samba --disable-shared --with-acl-support --cache-file=build.cache 2>&1 | tee configure.log' 131 143 address cmd 'ENDLOCAL' … … 175 187 VerFile = "VERSION.ECS" 176 188 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 177 196 /* Samba Version file */ 178 197 Version = "VERSION" … … 262 281 else do 263 282 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.