VirtualBox

Changeset 93046 in vbox for trunk/tools


Ignore:
Timestamp:
Dec 21, 2021 12:37:01 PM (3 years ago)
Author:
vboxsync
Message:

tools/envSub.vbs: Add the kBuild\win.*\wrappers dir to the PATH before gnuwin32\bin, so we can enjoy a newer grep that doesn't barf on trailing directory slashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/envSub.vbs

    r87406 r93046  
    245245   for each str1 in arrArchitectures
    246246      EnvRemovePathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & str1), ";"
     247      EnvRemovePathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & str1 & "\wrappers"), ";"
    247248      EnvRemovePathItem "Path", DosSlashes(strPathDevTools & "\win." & str1) & "\bin", ";"
    248249   next
     
    253254   '
    254255   if ArraySize(arrCmdToExec) = 0 then
     256      ' Add the kbuild wrapper directory to the end of the path, these take
     257      ' precedence over the dated gnuwin32 stuff.
     258      EnvAppendPathItem "Path", DosSlashes(strPathkBuild & "\bin\win." & strHostArch & "\wrappers"), ";"
     259
    255260      ' Add some gnuwin32 tools to the end of the path.
    256261      EnvAppendPathItem "Path", DosSlashes(strPathDevTools & "\win.x86\gnuwin32\r1\bin"), ";"
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