VirtualBox

Changeset 103063 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Jan 25, 2024 2:12:26 PM (12 months ago)
Author:
vboxsync
Message:

Installer/Python: Fixed installing bindings for Python 3 on macOS; the old syntax wasn't working on Python 3 anymore, so Python 3 probably never worked before there. bugref:10579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r103062 r103063  
    5757    for PYTHON_BIN in $PYTHON_BINARIES; do
    5858        # Install the python bindings if python is in the path
    59         if [ "`\${PYTHON_BIN} -c 'print "test"' 2> /dev/null`" = "test" ]; then
     59        if [ "`\${PYTHON_BIN} -c 'print("test")' 2> /dev/null`" = "test" ]; then
    6060            echo  1>&2 "Python found: ${PYTHON_BIN}, installing bindings..."
    6161            # Pass install path via environment
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