Changeset 1418 in svn


Ignore:
Timestamp:
2013-10-10T09:34:51+02:00 (21 months ago)
Author:
Xuefer
Message:

fixed #330: fix win32 build with no indent.exe nor cat.exe

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r1405 r1418  
    2121   * fixed #324: xcache.readonly_protection = Off cause SEGV under mass concurrent
    2222   * fixed #323: refix locking impl for threaded env
     23 * build
     24   * win32: fix build with no indent.exe nor cat.exe
    2325
    24263.0.3 2013-06-18
  • trunk/config.w32

    r1366 r1418  
    131131    frag = frag.replace(/processor\//g,      "processor\\");
    132132    frag = frag.replace(/\.lo:/g, ".obj:");
    133     frag = frag.replace(/.*\$\(CC\).* -E (.*) -o (.*)/, ccrule + " /E $1 > $2");
     133    frag = frag.replace(/.*\$\(CC\).* -E (.*) -o (.*)/g, ccrule + " /E $1 > $2");
    134134    frag = frag.replace(/ -o /g, " /Fo");
    135135    frag = frag.replace(/cp /g, "copy ");
     
    138138    frag = frag.replace(/ && /g, "\r\n\tif not errorlevel 1 ");
    139139    if (indent == '') {
    140         frag = frag.replace(/\| +\$\(XCACHE_INDENT\)/, '');
    141         frag = frag.replace(/\$\(XCACHE_INDENT\) < /, 'type ');
     140        frag = frag.replace(/\| *\$\(XCACHE_INDENT\)/g, '');
     141        frag = frag.replace(/\$\(XCACHE_INDENT\) *< */g, 'type ');
    142142    }
    143143    MFO.WriteLine(frag);
Note: See TracChangeset for help on using the changeset viewer.