- Timestamp:
- Nov 23, 2008, 12:02:27 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ReleaseEdit.cmd (modified) (5 diffs)
-
ReleaseTool.cmd (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ReleaseEdit.cmd
r1294 r1295 42 42 * - Improved "usage" routine 43 43 * - Suppressed output of 'del' commands 44 * 23 Nov 08 JBS Improved handling of invalid or missing <trace-option> 45 * and a 'NOTREADY' condition when closing the repository. 44 46 * 45 47 */ 46 48 47 49 n = setlocal() 50 51 /* 52 sed_separator: 53 - used only for SED edits of DEF file descriptions 54 - MUST be a character not found in ANY DEF file description! 55 - MUST be a character acceptable to SED as a separator 56 */ 57 sed_separator = '&' 58 59 call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs' 60 call SysLoadFuncs 48 61 49 62 parse arg args … … 57 70 if verify(translate(traceopt), '?ACEFILNOR') = 0 & length(traceopt) < 3 then 58 71 trace value traceopt 72 else 73 call Usage 74 else 75 do 76 parse source . called_as . 77 if called_as = 'COMMAND' then 78 call Usage 79 else 80 nop /* traceopt = '' OK for ReleaseEdit because it is usually called from ReleaseTool? */ 81 end 59 82 end 83 else 84 traceopt = '' 60 85 61 86 signal on Error … … 68 93 signal on novalue /* for debugging */ 69 94 */ 70 /*71 sed_separator:72 - used only for SED edits of DEF file descriptions73 - MUST be a character not found in ANY DEF file description!74 - MUST be a character acceptable to SED as a separator75 */76 sed_separator = '&'77 95 78 96 /* Change to proper directory */ … … 99 117 100 118 /* Prepare temporary file */ 101 call RxFuncAdd 'SysTempFilename', 'REXXUTIL', 'SysTempFilename'102 119 tmpfile = SysTempFilename('redittmp.???') 103 120 '@copy' file tmpfile '1>nul 2>nul' … … 147 164 fixpack_ver = GetFromRepository( 'fixpack_ver', '', 11 ) 148 165 description = GetFromRepository( 'desc.' || left(file, pos('.', file) - 1), '', 579 /* i.e. disable length check */ ) 166 signal off NOTREADY 149 167 call stream repository, 'c', 'close' 168 signal on NOTREADY name Error 150 169 151 170 option_description = '@#' || vendor || ':' || revision || '#@##1## ' || , -
trunk/ReleaseTool.cmd
r1294 r1295 36 36 * - Support for EDITOR env var 37 37 * - Improved "usage" routine 38 * 23 Nov 08 JBS Improved handling of invalid or missing <trace-option> 38 39 * 39 40 */ … … 64 65 if verify(translate(traceopt), '?ACEFILNOR') = 0 & length(traceopt) < 3 then 65 66 trace value traceopt 67 else 68 call Usage 69 else 70 do 71 parse source . called_as . 72 if called_as = 'COMMAND' then 73 call Usage 74 else 75 nop /* traceopt = '' OK for ReleaseEdit because it is usually called from ReleaseTool? */ 76 end 66 77 end 67 78 else
Note:
See TracChangeset
for help on using the changeset viewer.
