Changeset 1388


Ignore:
Timestamp:
Jan 5, 2009, 11:30:44 PM (17 years ago)
Author:
John Small
Message:

ReleaseEdit: Change to default VERREALMINOR edit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ReleaseEdit.cmd

    r1384 r1388  
    4444 *    23 Nov 08 JBS Improved handling of invalid or missing <trace-option>
    4545 *       and a 'NOTREADY' condition when closing the repository.
    46  *    05 Jan 09 JBS Added code to reset VERREALMINOR to nul in dll\version.h
     46 *    05 Jan 09 JBS Added code to set VERREALMINOR to default in dll\version.h
    4747 *
    4848*/
     
    199199               say 'Processing file:' file
    200200               '@del' file '1>nul 2>nul'
    201                'sed -r -e "/#define[ \t]+VERMAJOR/s/(#define[ \t]+VERMAJOR[ \t]+)[^ \t]+/\1' || major || '/g" -e "/#define[ \t]+VERMINOR/s/(#define[ \t]+VERMINOR[ \t]+)[^ \t]+/\1' || minor || '/g" -e "/^[ \t]*#define[ \t]+VERREALMINOR/s/(#define[ \t]+VERREALMINOR).*/\1/g" ' || tmpfile || ' >' file
     201               'sed -r -e "/#define[ \t]+VERMAJOR/s/(#define[ \t]+VERMAJOR[ \t]+)[^ \t]+/\1' || major || '/g" -e "/#define[ \t]+VERMINOR/s/(#define[ \t]+VERMINOR[ \t]+)[^ \t]+/\1' || minor || '/g" -e "/^[ \t]*#define[ \t]+VERREALMINOR/s/(#define[ \t]+VERREALMINOR).*/\1 \" \"__DATE__/g" ' || tmpfile || ' >' file
    202202            end
    203203      end
Note: See TracChangeset for help on using the changeset viewer.