VirtualBox

Changeset 85814 in vbox for trunk/tools/win


Ignore:
Timestamp:
Aug 18, 2020 11:07:55 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139971
Message:

configure.vbs,helpers.vbs: Detect YASM and NASM. Fixed a couple of bugs in the helpers. Added logging wrapper for RegGetString so we can better tell where we got a tool location from.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/win/vbscript/helpers.vbs

    r85809 r85814  
    252252' Returns a reverse version sorted array of subfolder names that starts with the given string.
    253253function GetSubdirsStartingWithRVerSorted(strFolder, strStartingWith)
    254    GetSubdirsStartingWithRSortedVersion = ArrayRVerSortStrings(GetSubdirsStartingWith(strFolder, strStartingWith))
     254   GetSubdirsStartingWithRVerSorted = ArrayRVerSortStrings(GetSubdirsStartingWith(strFolder, strStartingWith))
    255255end function
    256256
     
    782782      set OutParms = g_objReg.ExecMethod_("GetStringValue", InParms, , g_objRegCtx)
    783783      if OutParms.ReturnValue = 0 then
    784          if OutParms.sValue <> Null then
     784         if not IsNull(OutParms.sValue) then
    785785            RegGetString = OutParms.sValue
    786786         end if
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