mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-19 19:46:16 +08:00
Currently when adding an environment variable in provisioning we have to check if the system is Ubuntu and use .profile instead of .bashrc. This check should be done in a function so we don't have to duplicate it for every provisioning script separately. Change-Id: I2fa128032123e17d20dfb39cd3668e22e4bb0d55 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
10 lines
239 B
Bash
Executable File
10 lines
239 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -ex
|
|
|
|
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
|
|
# Enables the usage of temporary keychains for SSL autotests
|
|
SetEnvVar "QT_SSL_USE_TEMPORARY_KEYCHAIN" "1"
|