Add set -ex to provisioning scripts for macos-10.12

Change-Id: Ieea4f84909c552728614a4d3c23d4c8ab9134fb2
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Joni Jantti
2017-12-27 12:32:35 +02:00
committed by Tony Sarajärvi
parent cec7c07283
commit 28bf922739
20 changed files with 45 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
set -ex
# Read .bashrc if exist
printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile

View File

@@ -33,6 +33,8 @@
##
#############################################################################
set -ex
# This script modified system settings for automated use
# shellcheck source=../common/try_catch.sh

View File

@@ -1,2 +1,5 @@
#!/bin/sh
set -ex
defaults write com.apple.CrashReporter DialogType server

View File

@@ -1,3 +1,6 @@
#!/bin/sh
set -ex
# Enables the usage of temporary keychains for SSL autotests
echo "export QT_SSL_USE_TEMPORARY_KEYCHAIN=1" >> ~/.bashrc

View File

@@ -37,6 +37,8 @@
# XZ-Utils are needed for uncompressing xz-compressed files
set -ex
# shellcheck source=../common/try_catch.sh
source "${BASH_SOURCE%/*}/../common/InstallPKGFromURL.sh"

View File

@@ -34,6 +34,9 @@
#############################################################################
# This script installs JDK
set -ex
echo "Installing Java Development Kit"
# shellcheck source=../common/try_catch.sh

View File

@@ -42,6 +42,8 @@
# This will give you a file called "Content.part00.cpio.xz" that
# can be renamed to Xcode_8.xz for this script.
set -ex
# shellcheck source=../common/try_catch.sh
source "${BASH_SOURCE%/*}/../common/try_catch.sh"

View File

@@ -32,6 +32,9 @@
## $QT_END_LICENSE$
##
#############################################################################
set -ex
source "${BASH_SOURCE%/*}/../common/install-commandlinetools.sh"
version="8.3.2"

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
$BASEDIR/../common/cmake.sh

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
$BASEDIR/../common/homebrew.sh

View File

@@ -37,6 +37,8 @@
# MySQL is needed for Qt to be able to support MySQL
set -ex
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
$BASEDIR/../common/pip.sh

View File

@@ -37,6 +37,8 @@
# PostgreSQL is needed for Qt to be able to support PostgreSQL
set -ex
# shellcheck source=../common/InstallAppFromCompressedFileFromURL.sh
source "${BASH_SOURCE%/*}/../common/InstallAppFromCompressedFileFromURL.sh"

View File

@@ -1 +1,3 @@
set -ex
source "${BASH_SOURCE%/*}/../common/python3.sh"

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Install 7z to be used from command line
set -ex
brew update
brew install p7zip

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
$BASEDIR/../common/virtualenv.sh

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
# There is only one mac package and common script uses it as a default
$BASEDIR/../common/libclang.sh

View File

@@ -37,6 +37,8 @@
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
set -ex
# shellcheck source=../common/try_catch.sh
source "${BASH_SOURCE%/*}/../common/try_catch.sh"

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -ex
BASEDIR=$(dirname "$0")
$BASEDIR/../common/fbx_macos.sh

View File

@@ -35,6 +35,8 @@
# This script install OpenSSL
set -ex
# shellcheck source=../common/try_catch.sh
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
# shellcheck source=../common/InstallFromCompressedFileFromURL.sh