VirtualBox

Changeset 53602 in vbox for trunk


Ignore:
Timestamp:
Dec 22, 2014 12:14:44 PM (10 years ago)
Author:
vboxsync
Message:

Last package configurability improvment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/darwin.x86/bin/xcode-4.1-extrator.sh

    r53376 r53602  
    3333#
    3434MY_PKGS="gcc4.2.pkg llvm-gcc4.2.pkg DeveloperToolsCLI.pkg xcrun.pkg JavaSDK.pkg MacOSX10.6.pkg MacOSX10.7.pkg"
     35MY_LAST_PKG="MacOSX10.7.pkg"
     36MY_PKGS="clang.pkg"
     37MY_LAST_PKG="clang.pkg"
    3538declare -a MY_FULL_PKGS
    3639for i in $MY_PKGS; 
     
    136139
    137140#
    138 # Extract the sub-packages from MainPayload.tar. Make sure MacOSX10.7.pkg is the last.
     141# Extract the sub-packages from MainPayload.tar.
    139142#
    140 if [ ! -f "${MY_TMP_DIR}/x/MacOSX10.7.pkg" ]; then
     143if [ ! -f "${MY_TMP_DIR}/x/${MY_LAST_PKG}" ]; then
    141144    echo "info: Extracting packages from 'MainPayload.tar'..."
    142145    if ! tar xvf "${MY_TMP_DIR}/x/MainPayload.tar" -C "${MY_TMP_DIR}/x" "${MY_FULL_PKGS[@]}"; then
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