Add set -ex to provisioning scripts for osx-10.11

Change-Id: I56ecd39a553b8b777eac0f8822cfd3263e972ef5
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
Joni Jantti
2017-12-27 12:39:38 +02:00
committed by Tony Sarajärvi
parent 70d3800aab
commit b23faee265
15 changed files with 33 additions and 1 deletions

View File

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

View File

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

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

@@ -35,6 +35,8 @@
# This script modified system settings for automated use
set -ex
# shellcheck source=../common/try_catch.sh
source "${BASH_SOURCE%/*}/../common/try_catch.sh"

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

@@ -42,7 +42,7 @@
# 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.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

@@ -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,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