Ticket #330: config.w32.patch

File config.w32.patch, 620 bytes (added by weltling, 22 months ago)
  • config.w32

     
    137137    frag = frag.replace(/ \|\| /g, "\r\n\tif errorlevel 1 ");
    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);
    144144    ADD_FLAG("CFLAGS_XCACHE", "/I " + builddir);