VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 2:42:45 AM (9 years ago)
Author:
vboxsync
Message:

EFI/build.py: Hack for making Popen find GenFds.cmd when just given GenFds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/build/build.py

    r58459 r58465  
    252252    # So here we may need convert command from string to list instance.
    253253    if not isinstance(Command, list):
    254         if platform.system() != 'Windows':
     254        if platform.system() != 'Windows' or True: # VBox: Added 'or True' (for the hack below).
    255255            Command = Command.split()
     256    # VBox: Ugly hack! python 2.7.6 on Windows doesn't seem to correctly search for GenFds (should find GenFds.cmd).
     257    if Command[0] in ['GenFds',] and platform.system() == 'Windows':
     258        Command = [Command[0] + '.cmd'] + Command[1:];
    256259
    257260    EdkLogger.info("Launching: '%s'; CWD=%s" % ("' '".join(Command), WorkingDir));
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