Changeset 522 for trunk/src/gmake/main.c


Ignore:
Timestamp:
Sep 16, 2006, 8:04:15 AM (19 years ago)
Author:
bird
Message:

kmk_ash wants batch files on windows or the double quotes will get screwed up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/main.c

    r520 r522  
    842842  }
    843843
     844#ifdef KMK
     845  /* WORKAROUND:
     846    With GNU Make 3.81, this kludge was necessary to get double quotes
     847    working correctly again (worked fine with the 3.81beta1 code).
     848    beta1 was forcing batch_mode_shell I think, so let's enforce that
     849    for the kBuild shell. */
     850  if (sh_found && strstr(default_shell, "kmk_ash")) {
     851      unixy_shell = 1;
     852      batch_mode_shell = 1;
     853  } else
     854#endif
    844855  /* naive test */
    845856  if (!unixy_shell && sh_found &&
Note: See TracChangeset for help on using the changeset viewer.