summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authoryangwenlin <[email protected]>2022-02-23 18:23:05 +0800
committeryangwenlin <[email protected]>2022-02-24 17:43:50 +0800
commite6075ce810873145e978c9bc7c5f4fcd44ab4794 (patch)
tree2fe05bc34a10cdf25fa204b4154c3dbfef1d9cfc /ci
parente92fd7c9df8db4e50b73c0015688c7d82586dacd (diff)
TSG-9689: 适配Rocky Linux8.5系统v4.0.2
Diffstat (limited to 'ci')
-rw-r--r--ci/travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index d32c1c6..c2665d2 100644
--- a/ci/travis.sh
+++ b/ci/travis.sh
@@ -38,7 +38,7 @@ if [ -n "${INSTALL_DEPENDENCY_LIBRARY}" ]; then
source /etc/profile.d/framework.sh
fi
-if [ $ASAN_OPTION ];then
+if [ $ASAN_OPTION ] && [ -f "/opt/rh/devtoolset-7/enable" ] ;then
source /opt/rh/devtoolset-7/enable
fi