summaryrefslogtreecommitdiff
path: root/ci/travis.sh
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2022-04-01 15:01:42 +0800
committerliuxueli <[email protected]>2022-04-01 15:01:42 +0800
commitb3057623dcde6e7780b6770d442277f5f81a7de4 (patch)
treec50bbb982adf53e6b1d53600dabbc70100278881 /ci/travis.sh
parent453d33171739e9978f4fad0eab07a16f7240b55c (diff)
TSG-9938: 适配rocky linux8.5
Diffstat (limited to 'ci/travis.sh')
-rw-r--r--ci/travis.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/travis.sh b/ci/travis.sh
index 4d5f0f0..58227bd 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