Changeset 1239


Ignore:
Timestamp:
Oct 9, 2008, 12:56:38 PM (17 years ago)
Author:
John Small
Message:

Ticket 287: Various Warpin-related code correction/cleanup/improvement:

  • Fixed "minimum required version" of Warpin in FM/2 Warpin script
  • Simplified SED command by using new command input file, SED.IN
  • Changed SED commands to eliminate extraneous blank lines at the top of the "included" files.
  • Add/set missing SVN properties
  • Miscellaneous code cleanup
Location:
trunk/warpin
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/warpin/bld_fm2_wpi.cmd

    r1191 r1239  
    1 /*  BLD_FM2_WPI - Create a Warpin archive (WPI) for installation of FM/2 */
    2 
    31/*
     2 *      $Id: $
     3 *
     4 * BLD_FM2_WPI - Create a Warpin archive (WPI) for installation of FM/2
     5 *
    46 * Author
    57 *    John Small
     
    7375/* Add the files to the WPI   */
    7476   do
    75 /*
    76       if stream(WPI.archivename, 'c', 'query exists') \= '' then
    77          if archive_previous_WPI == 1 then
    78             'ren 'WPI.archivename WPI.archivename || '.' || time('S')
    79          else
    80             'del 'WPI.archivename
    81 */
    8277      do p = 1 to WPI.pkg.0
    8378         call SysFileTree WPI.pkg.p.dir || '\*', 'pkgfilelist.', 'FOS'
     
    10196         call ErrorExit 4 rc
    10297   end
    103 
    104 /*
    105 call Deinit
    106 */
    10798
    10899/* Exit routines */
     
    183174return
    184175
    185 /*
    186 Deinit: procedure expose (globals)
    187 return
    188 */
    189 
    190176novalue:
    191177   say 'Error: Uninitialized value: ' || condition('D') || ' encountered on line 'sigl':'
     
    194180
    195181/*=== Error() Report ERROR, FAILURE etc. and exit ===*/
    196 
    197182Error:
    198183  say
  • trunk/warpin/bld_fm2_wpidirs.cmd

    r641 r1239  
    11/*
     2 * $Id: $
    23 *
    34 * REXX code to create and populate directories in preparation for the creation of the
     
    910 *       -  Number of packages
    1011 *       -  Package numbers
    11  *    -  Add logic to copy only if the source is newer
    1212 *    -  Document errors internally (Error. ?)
    1313 *    -  Display more descriptive error messages to user
  • trunk/warpin/bld_fm2utils_wpi.cmd

    r674 r1239  
    1 /*  BLD_FM2UTILS_WPI - Create a Warpin archive (WPI) for installation of FM/2 */
    2 
    3 /*
     1/*
     2 * $Id: $
     3 *
     4 * BLD_FM2UTILS_WPI - Create a Warpin archive (WPI) for installation of FM/2
     5 *
    46 * Author
    57 *    John Small
  • trunk/warpin/clean_wpidirs.cmd

    r626 r1239  
    1 /* REXX program to delete FM/2 Warpin WPI file staging directories */
     1/*
     2 * $Id: $
     3 *
     4 * REXX program to empty FM/2 Warpin WPI file staging directories
     5 *
     6 */
     7
    28call RxFuncAdd 'SysFileTree', 'REXXUTIL', 'SysFileTree'
    39call SysFileTree 'PACKAGE.*', 'pkgdirs.', 'DO'
  • trunk/warpin/fm2Utils.wis

    • Property svn:eol-style set to native
    • Property svn:keywords set to Id
    r679 r1239  
    11<!--
     2 $Id$
     3
    24 WARPIN VERSION 0.9.20 is required for PACKAGEID's with revision levels.
    35 WARPIN VERSION 0.9.9  is required for EXTRACTFROMPCK.
  • trunk/warpin/makefile

    r1148 r1239  
    1212# 10 Dec 07 SHL Add missing makefile dependencies
    1313# 10 Dec 07 SHL Set FM2_VER for 3.9.0
     14# 07 Oct 08 JBS Changed SED command to use script file and to eliminate
     15#               extraneous blank lines with the included files.
    1416
    1517!ifndef FM2_VER                  # if defined on wmake command, use it
     
    6163    ckfiles fm2$(FM2_VER).wpi
    6264
    63 fm2.wis: fm2.wis.in fm2utils\fm2utils.doc fm2utils\license.txt makefile
    64    sed -e "/@@@include fm2utils.doc@@@/r fm2utils\fm2utils.doc" -e "s/@@@include fm2utils.doc@@@//" -e "/@@@include license.txt@@@/r fm2utils\license.txt" -e "s/@@@include license.txt@@@//" -e "s/@@@FM2_VER@@@/$(FM2_VER)/" -e "s/@@@FM2UTILS_VER@@@/$(FM2UTILS_VER)/" -e "/PACKAGEID/s/-/\\/g" fm2.wis.in >fm2.wis
    65 #  sed  -e "s/@@@FM2_VER@@@/$(FM2_VER)/" -e "/PACKAGEID/s/-/\\/g" fm2.wis.in >fm2.wis
     65fm2.wis: fm2.wis.in fm2utils\fm2utils.doc fm2utils\license.txt makefile sed.in
     66   sed -e "s/@@@FM2_VER@@@/$(FM2_VER)/" -e "s/@@@FM2UTILS_VER@@@/$(FM2UTILS_VER)/" -f sed.in fm2.wis.in | sed "/@@@include/{s/@@@include//;N;s/\n//}" >fm2.wis
    6667
    6768fm2$(FM2_VER).wpi:: bld_fm2_wpidirs.in makefile
Note: See TracChangeset for help on using the changeset viewer.