VirtualBox

Changeset 522 in kBuild


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

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

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r520 r522  
    332006-09-16:
    44    - src/gmake:
     5        o kmk_ash wants batch files on windows or the double quotes will get screwed up.
     6        o Make sure kmk_builtin commands don't get batch files and odd weird stuff.
    57        o Cleaning up the modifications. Changes are now either configurable
    68          or marked, and dead stuff has been removed (dll shell).
  • trunk/src/gmake/Makefile.kmk

    r520 r522  
    212212        echo "4"
    213213
     214# shell double and single quoting check.
     215test_shell_quoting:
     216        $(ECHO_EXT) "double quoted sTrInG" | $(SED_EXT) -e "s/sTrInG/string/g"
     217        $(ECHO_EXT) 'single quoted sTrInG' | $(SED_EXT) -e 's/sTrInG/string/g'
     218        $(ECHO) "This string should not be printed with double quotes."
     219        $(ECHO) 'This string should not be printed with single quotes.'
  • 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette