Changeset 1291
- Timestamp:
- Nov 22, 2008, 2:35:20 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/ReleaseEdit.cmd ¶
r1289 r1291 33 33 */ 34 34 35 n = setlocal() 36 35 37 signal on Error 36 38 signal on FAILURE name Error … … 50 52 */ 51 53 sed_separator = '&' 54 55 /* Change to proper directory */ 56 parse source . . thispgm 57 thisdir = left(thispgm, lastpos('\', thispgm)) || '.' 58 call directory thisdir 52 59 53 60 /* Process parameters */ … … 63 70 CSDlevel = 0 64 71 65 /* Set fixed strings */66 globals = 'repository copyright_year_marker copyright_year_marker_len'67 repository = 'option_descriptions.txt'68 mkstr_makefile = 'DLL\INTERNAL\MAKEFILE'69 warpin_makefile = 'WARPIN\MAKEFILE'70 copyright_h = 'DLL\COPYRIGHT.H'71 parse value date('s') with year 5 month 7 day72 last_year = year - 173 74 72 /* Prepare temporary file */ 75 73 call RxFuncAdd 'SysTempFilename', 'REXXUTIL', 'SysTempFilename' … … 84 82 'del' file 85 83 84 /* Set fixed strings */ 85 globals = 'repository copyright_year_marker copyright_year_marker_len' 86 repository = 'option_descriptions.txt' 87 mkstr_makefile = 'DLL\INTERNAL\MAKEFILE' 88 warpin_makefile = 'WARPIN\MAKEFILE' 89 copyright_h = 'DLL\COPYRIGHT.H' 90 parse value date('s') with year 5 month 7 day 91 last_year = year - 1 92 86 93 /* Process the request */ 87 94 select 88 95 when ext = 'DEF' then 89 96 do 97 if stream(repository, 'c', 'query exists') = '' then 98 do 99 say 'Error! Unable to locate repository file:' repository 100 say 101 say 'Unable to proceed with request.' 102 say 103 '@if not exist' file 'copy' tmpfile file '>nul 2>nul' 104 '@pause' 105 signal exit_routine 106 end 107 90 108 copyright_year_marker = 'copyright-year' 91 109 copyright_year_marker_len = length(copyright_year_marker) … … 100 118 processor_type = GetFromRepository( 'processor_type', 'U', 1 ) 101 119 fixpack_ver = GetFromRepository( 'fixpack_ver', '', 11 ) 102 description = GetFromRepository( 'desc.' || left(file, pos('.', file) - 1), '', 79)120 description = GetFromRepository( 'desc.' || left(file, pos('.', file) - 1), '', 579 /* i.e. disable length check */ ) 103 121 call stream repository, 'c', 'close' 104 122 … … 152 170 nop /* Or error message or usage info? */ 153 171 end 172 exit_routine: 154 173 '@if exist' tmpfile 'del' tmpfile 174 n = endlocal() 155 175 return 156 176 -
TabularUnified trunk/option_descriptions.txt ¶
r1287 r1291 13 13 ; and the description for dll\fm3dll.def starts with: 14 14 ; desc.dll\fm3dll= 15 ; 15 16 ; EVERY def file needs an entry for the description in this file. 17 ; 18 ; NOTE: In the copyright portion of the description, use the 19 ; string "copyright-year" as a placeholder for the current year. 20 ; ReleaseEdit with replace it with the current year. 16 21 ; 17 22 ; NOTE: If a description requires a '&', then ReleaseEdit.cmd … … 47 52 country_code=US 48 53 processor_type=U 49 desc.av2=FM/2 Archive Viewer MiniApp 50 desc.databar=FM/2 Databar MiniApp 51 desc.dirsize=FM/2 Directory Sizes MiniApp 52 desc.eas=FM/2 EA Editor MiniApp 53 desc.fm3=F(ile) M(anager)/2 54 desc.fm4=F(ile) M(anager)/2 Lite 55 desc.global=FM/2 Global MiniApp 56 desc.ini=FM/2 INI Editor MiniApp 57 desc.killproc=FM/2 Kill Process MiniApp 58 desc.sysinfo=FM/2 SysInfo MiniApp 59 desc.undel=FM/2 Undelete MiniApp 60 desc.vcollect=FM/2 Collector MiniApp 61 desc.vdir=FM/2 View Directory MiniApp 62 desc.viewinfs=FM/2 View INFs MiniApp 63 desc.vtree=FM/2 Tree View MiniApp 64 desc.dll\fm3dll=FM/2 Runtime DLL 65 desc.dll\fm3res=FM/2 Runtime Resource DLL 54 desc.av2=FM/2 Archive Viewer MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 55 desc.databar=FM/2 Databar MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 56 desc.dirsize=FM/2 Directory Sizes MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 57 desc.eas=FM/2 EA Editor MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 58 desc.fm3=F(ile) M(anager)/2 Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 59 desc.fm4=F(ile) M(anager)/2 Lite Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 60 desc.global=FM/2 Global MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 61 desc.ini=FM/2 INI Editor MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 62 desc.killproc=FM/2 Kill Process MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 63 desc.sysinfo=FM/2 SysInfo MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 64 desc.undel=FM/2 Undelete MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 65 desc.vcollect=FM/2 Collector MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 66 desc.vdir=FM/2 View Directory MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 67 desc.viewinfs=FM/2 View INFs MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 68 desc.vtree=FM/2 Tree View MiniApp Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 69 desc.dll\fm3dll=FM/2 Runtime DLL Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved 70 desc.dll\fm3res=FM/2 Runtime Resource DLL Copyright (c) 1993, 1998 M. Kimes, Copyright (c) 2001, copyright-year Steven Levine and Associates, Inc. All rights reserved
Note:
See TracChangeset
for help on using the changeset viewer.