VirtualBox

Changeset 73911 in vbox for trunk/src


Ignore:
Timestamp:
Aug 27, 2018 12:09:03 PM (6 years ago)
Author:
vboxsync
Message:

Installer/darwin: Make sure the postflight sed invocation always has an expression. Fixed inverted logic in postflight script. bugref:9049

Location:
trunk/src/VBox/Installer/darwin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r73850 r73911  
    801801else
    802802        $(SED)  $(if-expr !defined(VBOX_WITH_HARDENING),-e '/WITH_HARDENING/d',) \
    803                 $(if-expr !defined(VBOX_GUI_WITH_SHARED_LIBRARY),-e '/WITH_SHARED_LIBRARY/d',) \
     803                $(if-expr !defined(VBOX_GUI_WITH_SHARED_LIBRARY),-e '/WITH_SHARED_LIBRARY/d',-e '/WITHOUT_SHARED_LIBRARY/d') \
    804804                --output $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.res/postflight \
    805805                $(VBOX_PATH_DI_SRC)/VirtualBox/postflight
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r72282 r73911  
    9292SET_UID_BINARIES="VBoxNetAdpCtl"
    9393SET_UID_BINARIES="${SET_UID_BINARIES} VBoxHeadless VirtualBoxVM VBoxNetDHCP VBoxNetNAT" # WITH_HARDENING
    94 SET_UID_BINARIES="${SET_UID_BINARIES} VirtualBox"                                       # WITH_HARDENING WITH_SHARED_LIBRARY
     94SET_UID_BINARIES="${SET_UID_BINARIES} VirtualBox"                                       # WITH_HARDENING WITHOUT_SHARED_LIBRARY
    9595for bin in ${SET_UID_BINARIES}; do
    9696    chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${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