diff --git a/system-dependencies.sh b/system-dependencies.sh index d2d21d892a..f4e3536d65 100755 --- a/system-dependencies.sh +++ b/system-dependencies.sh @@ -327,7 +327,7 @@ function install_specific_xcode () { # To test this script with new Xcode versions, copy the downloaded file to $XCODE_DMG, # uncomment the following curl line, and run ./system-dependencies.sh --provision-xcode if test -f "$HOME/Downloads/$XCODE_NAME"; then - log "Found Xcode $XCODE_VERSION in your ~/Downloads folder, copying that version instead." + log "Found $XCODE_NAME in your ~/Downloads folder, copying that version to $XCODE_DMG instead of re-downloading it." cp "$HOME/Downloads/$XCODE_NAME" "$XCODE_DMG" else curl -L $XCODE_URL > $XCODE_DMG @@ -351,7 +351,7 @@ function install_specific_xcode () { rm -Rf *.app rm -Rf $XCODE_ROOT # extract - /System/Library/CoreServices/Applications/Archive\ Utility.app/Contents/MacOS/Archive\ Utility "$XCODE_DMG" + xip --expand "$XCODE_DMG" log "Installing Xcode $XCODE_VERSION to $XCODE_ROOT..." mv *.app $XCODE_ROOT popd > /dev/null