From: <wda...@us...> - 2010-09-11 00:47:45
|
Revision: 6168 http://oorexx.svn.sourceforge.net/oorexx/?rev=6168&view=rev Author: wdashley Date: 2010-09-11 00:47:38 +0000 (Sat, 11 Sep 2010) Log Message: ----------- Update script. Modified Paths: -------------- websites/build/trunk/docroot/builds/scripts/buildall.rex Modified: websites/build/trunk/docroot/builds/scripts/buildall.rex =================================================================== --- websites/build/trunk/docroot/builds/scripts/buildall.rex 2010-09-11 00:45:15 UTC (rev 6167) +++ websites/build/trunk/docroot/builds/scripts/buildall.rex 2010-09-11 00:47:38 UTC (rev 6168) @@ -47,10 +47,10 @@ -- get the contentst of the input file and create the build array arr = file_arrayin(machines) buildarr = .array~new() -do machine over machines - if machine~strip() = '' then iterate - if machine~strip()~substr(1, 1) = '#' then iterate - if machine~strip()~substr(1, 2) = '--' then iterate +do arr over line + if line~strip() = '' then iterate + if line~strip()~substr(1, 1) = '#' then iterate + if line~strip()~substr(1, 2) = '--' then iterate parse var machine osname addr userid cmd virt_flag . buildarr~append(.buildmachine~new(osname, addr, userid, cmd, virt_flag)) end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |